diff options
| author | Kaelyn Uhrain <rikka@google.com> | 2014-02-05 18:57:51 +0000 |
|---|---|---|
| committer | Kaelyn Uhrain <rikka@google.com> | 2014-02-05 18:57:51 +0000 |
| commit | c1b19f171d833880559d0f15ea27895452f4df09 (patch) | |
| tree | b7ea4e589813fb76912c8780bb5d2727c7ff1ddc /lib/CodeGen/CodeGenFunction.cpp | |
| parent | a7b48ed6e362947101b732f840405b784bf185e0 (diff) | |
| download | clang-c1b19f171d833880559d0f15ea27895452f4df09.tar.gz clang-c1b19f171d833880559d0f15ea27895452f4df09.tar.bz2 clang-c1b19f171d833880559d0f15ea27895452f4df09.tar.xz | |
Don't consider records with a NULL identifier as a name for typo correction.
Because in C++, "anonymous" doesn't mean "nameless" for records. In
other words, RecordDecl::isAnonymousStructOrUnion only returns true if
the record lacks a name *and* is not used as the type in an object's
declaration.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200868 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
