diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-04-26 21:33:40 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-04-26 21:33:40 +0000 |
commit | d3afa0c7fbac37046c58a72ebbc6733bf7a64845 (patch) | |
tree | fee14b4954dd89fd36ca91ab368081be64e062aa /clang/test/Index/targeted-annotation.c | |
parent | e5edbf9a16f3c91eae3aee58d78f6dc632ae0372 (diff) | |
download | bcm5719-llvm-d3afa0c7fbac37046c58a72ebbc6733bf7a64845.tar.gz bcm5719-llvm-d3afa0c7fbac37046c58a72ebbc6733bf7a64845.zip |
[PCH/modules] Require the preprocessing record option to match the used PCH, if modules are enabled.
The preprocessing record becomes important when modules are enabled, since it is used to calculate the
module cache hash.
llvm-svn: 180635
Diffstat (limited to 'clang/test/Index/targeted-annotation.c')
-rw-r--r-- | clang/test/Index/targeted-annotation.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Index/targeted-annotation.c b/clang/test/Index/targeted-annotation.c index cfa1046cc8c..022a139d36d 100644 --- a/clang/test/Index/targeted-annotation.c +++ b/clang/test/Index/targeted-annotation.c @@ -82,10 +82,10 @@ int LocalVar2; // TOP: Identifier: "TARGETED_TOP_H" [2:9 - 2:23] preprocessing directive= // TOP: Punctuation: "#" [3:1 - 3:2] preprocessing directive= // TOP: Identifier: "define" [3:2 - 3:8] preprocessing directive= -// TOP: Identifier: "TARGETED_TOP_H" [3:9 - 3:23] preprocessing directive= -// TOP: Punctuation: "#" [5:1 - 5:2] preprocessing directive= -// TOP: Identifier: "include" [5:2 - 5:9] preprocessing directive= -// TOP: Literal: ""targeted-nested1.h"" [5:10 - 5:30] preprocessing directive= +// TOP: Identifier: "TARGETED_TOP_H" [3:9 - 3:23] macro definition=TARGETED_TOP_H +// TOP: Punctuation: "#" [5:1 - 5:2] inclusion directive=targeted-nested1.h +// TOP: Identifier: "include" [5:2 - 5:9] inclusion directive=targeted-nested1.h +// TOP: Literal: ""targeted-nested1.h"" [5:10 - 5:30] inclusion directive=targeted-nested1.h // TOP: Keyword: "enum" [7:1 - 7:5] EnumDecl=:7:1 (Definition) // TOP: Punctuation: "{" [7:6 - 7:7] EnumDecl=:7:1 (Definition) // TOP: Identifier: "VALUE" [8:3 - 8:8] EnumConstantDecl=VALUE:8:3 (Definition) |