summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/variables.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-10 22:13:17 +0000
committerChris Lattner <sabre@nondot.org>2009-04-10 22:13:17 +0000
commitd959d753bc84c298aa9982752fc3335766b30b19 (patch)
treebc8fb9e7da216088ca562788a180aebe0faaba56 /clang/test/PCH/variables.h
parente49adaf7f26509c0c5267e7a461b98f35ec78050 (diff)
downloadbcm5719-llvm-d959d753bc84c298aa9982752fc3335766b30b19.tar.gz
bcm5719-llvm-d959d753bc84c298aa9982752fc3335766b30b19.zip
do a dance with predefines, and finally enable reading of macros from
PCH. This works now, except for limitations not being able to do things with identifiers. The basic example in the testcase works though. llvm-svn: 68832
Diffstat (limited to 'clang/test/PCH/variables.h')
-rw-r--r--clang/test/PCH/variables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/PCH/variables.h b/clang/test/PCH/variables.h
index 4c5012d68ba..6bf82c44830 100644
--- a/clang/test/PCH/variables.h
+++ b/clang/test/PCH/variables.h
@@ -10,3 +10,4 @@ float z;
#define MAKE_HAPPY(X) X##Happy
int MAKE_HAPPY(Very);
+#define A_MACRO_IN_THE_PCH 492
OpenPOWER on IntegriCloud