aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2017-06-02 01:24:18 +0000
committerSean Callanan <scallanan@apple.com>2017-06-02 01:24:18 +0000
commitddf802a04d5e873d7d58c0e85b8b243af0c13315 (patch)
tree31e24960d7aa5c61fda1a4317c8ee678504d4bce /clang/lib/Basic/Module.cpp
parenta44a6ac81f0d2acffecbe422a166c7392a19160c (diff)
downloadllvm-ddf802a04d5e873d7d58c0e85b8b243af0c13315.zip
llvm-ddf802a04d5e873d7d58c0e85b8b243af0c13315.tar.gz
llvm-ddf802a04d5e873d7d58c0e85b8b243af0c13315.tar.bz2
[TypeSystem] Handle Clang AttributedTypes
When parsing types originating in modules, it is possible to encounter AttributedTypes (such as the type generated for NSString *_Nonnull). Some of LLDB's ClangASTContext methods deal with them; others do not. In particular, one function that did not was GetTypeInfo, causing TestObjCNewSyntax to fail. This fixes that, treating AttributedType as essentially transparent and getting the information for the modified type. In addition, however, TestObjCNewSyntax is a monolithic test that verifies a bunch of different things, all of which can break independently of one another. I broke it apart into smaller tests so that we get more precise failures when something (like this) breaks. Differential Revision: https://reviews.llvm.org/D33812 llvm-svn: 304510
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions