aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorMatthias Gehre <M.Gehre@gmx.de>2016-09-28 20:06:18 +0000
committerMatthias Gehre <M.Gehre@gmx.de>2016-09-28 20:06:18 +0000
commit6207d459a417728f4f289b8b091f8160061c134a (patch)
treeeac169b500e27bc4600aeec75ac9afdf0bfccf49 /clang/lib/Frontend/InitPreprocessor.cpp
parente14df4b2365948f67069b9ec378852baf6c9da88 (diff)
downloadllvm-6207d459a417728f4f289b8b091f8160061c134a.zip
llvm-6207d459a417728f4f289b8b091f8160061c134a.tar.gz
llvm-6207d459a417728f4f289b8b091f8160061c134a.tar.bz2
[clang-tidy] fix false-positive for cppcoreguidelines-pro-type-member-init with in-class initializers
Summary: This fixes https://llvm.org/bugs/show_bug.cgi?id=30487 where ``` warning: uninitialized record type: 's' [cppcoreguidelines-pro-type-member-init] ``` is emitted on ``` struct MyStruct { int a = 5; int b = 7; }; int main() { MyStruct s; } ``` Reviewers: alexfh, aaron.ballman Subscribers: nemanjai, cfe-commits Differential Revision: https://reviews.llvm.org/D24848 llvm-svn: 282625
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions