diff options
author | Samuel Benzaquen <sbenza@google.com> | 2016-02-05 18:29:24 +0000 |
---|---|---|
committer | Samuel Benzaquen <sbenza@google.com> | 2016-02-05 18:29:24 +0000 |
commit | 8e566f37409736e76ad3aa515975014d8ee5ca9d (patch) | |
tree | 4381c918c60913a0ad23a2cbd03d8da05f4134bc /lldb/source/Expression/ExpressionSourceCode.cpp | |
parent | 5dde1d2eb35ab6f2cd2386d6be016782a522f88b (diff) | |
download | bcm5719-llvm-8e566f37409736e76ad3aa515975014d8ee5ca9d.tar.gz bcm5719-llvm-8e566f37409736e76ad3aa515975014d8ee5ca9d.zip |
[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
llvm-svn: 259898
Diffstat (limited to 'lldb/source/Expression/ExpressionSourceCode.cpp')
0 files changed, 0 insertions, 0 deletions