diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-03 06:36:51 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-03 06:36:51 +0000 |
commit | a6011e25a1c77de6eba3974737a5c21c319602c6 (patch) | |
tree | c715bcf5e42c591688aae94967cbd35b5898d130 /clang/lib/AST/CMakeLists.txt | |
parent | 59ad1e3f574a33f2a2d3a1d80a1a22b657deba09 (diff) | |
download | bcm5719-llvm-a6011e25a1c77de6eba3974737a5c21c319602c6.tar.gz bcm5719-llvm-a6011e25a1c77de6eba3974737a5c21c319602c6.zip |
Allow getting all source locations of selector identifiers in a ObjCMessageExpr.
Instead of always storing all source locations for the selector identifiers
we check whether all the identifiers are in a "standard" position; "standard" position is
-Immediately before the arguments: [foo first:1 second:2]
-With a space between the arguments: [foo first: 1 second: 2]
-For nullary selectors, immediately before ']': [foo release]
In such cases we infer the locations instead of storing them.
llvm-svn: 140987
Diffstat (limited to 'clang/lib/AST/CMakeLists.txt')
-rw-r--r-- | clang/lib/AST/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/CMakeLists.txt b/clang/lib/AST/CMakeLists.txt index 00fad798ef2..1f0100a580a 100644 --- a/clang/lib/AST/CMakeLists.txt +++ b/clang/lib/AST/CMakeLists.txt @@ -35,6 +35,7 @@ add_clang_library(clangAST ParentMap.cpp RecordLayout.cpp RecordLayoutBuilder.cpp + SelectorLocationsKind.cpp Stmt.cpp StmtDumper.cpp StmtIterator.cpp |