summaryrefslogtreecommitdiff
path: root/lib/Sema/IdentifierResolver.cpp
diff options
context:
space:
mode:
authorSamuel Benzaquen <sbenza@google.com>2016-02-05 18:29:24 +0000
committerSamuel Benzaquen <sbenza@google.com>2016-02-05 18:29:24 +0000
commitc1abc952dc13cf141bdc0129debbf409f6dc9ece (patch)
tree24705af2d56222e699a943682a3203d8c76222e7 /lib/Sema/IdentifierResolver.cpp
parent508fd615f6d875d09332a57a9b9f085f724c41b8 (diff)
downloadclang-c1abc952dc13cf141bdc0129debbf409f6dc9ece.tar.gz
[ASTMatchers] Allow hasName() to look through inline namespaces
Summary: Allow hasName() to look through inline namespaces. This will fix the interaction between some clang-tidy checks and libc++. libc++ defines names in an inline namespace named std::<version_#>. When we try to match a name using hasName("std::xxx") it fails to match and the clang-tidy check does not work. Reviewers: klimek Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D15506 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259898 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/IdentifierResolver.cpp')
0 files changed, 0 insertions, 0 deletions