summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/cxx-decls-merged.h
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-06-16 20:26:19 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-06-16 20:26:19 +0000
commit675d279af405d594552613c40a1507516039c694 (patch)
tree0a261a5d60f673e2c1d0c83e9363ef8c070652a6 /clang/test/Modules/Inputs/cxx-decls-merged.h
parent50f518be65ce3ea3be9ec06fcb103a752af18005 (diff)
downloadbcm5719-llvm-675d279af405d594552613c40a1507516039c694.tar.gz
bcm5719-llvm-675d279af405d594552613c40a1507516039c694.zip
[modules] When we merge redecl chains or mark a decl used with an update
record, mark all subsequent decls as 'used' too, to maintain the AST invariant that getPreviousDecl()->Used implies this->Used. llvm-svn: 211050
Diffstat (limited to 'clang/test/Modules/Inputs/cxx-decls-merged.h')
-rw-r--r--clang/test/Modules/Inputs/cxx-decls-merged.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/cxx-decls-merged.h b/clang/test/Modules/Inputs/cxx-decls-merged.h
new file mode 100644
index 00000000000..ccc3b015487
--- /dev/null
+++ b/clang/test/Modules/Inputs/cxx-decls-merged.h
@@ -0,0 +1 @@
+extern int mergeUsedFlag;
OpenPOWER on IntegriCloud