[cfe-commits] r53797 - /cfe/trunk/test/Preprocessor/dumptokens_phyloc.c

Ted Kremenek kremenek at apple.com
Sat Jul 19 12:10:41 PDT 2008


Author: kremenek
Date: Sat Jul 19 14:10:40 2008
New Revision: 53797

URL: http://llvm.org/viewvc/llvm-project?rev=53797&view=rev
Log:
Patch by Kovarththanan Rajaratnam:

"When dumping the tokens (-dumptokens output type), the column numbers are not
correctly shown. This patch fixes that issue."

Added:
    cfe/trunk/test/Preprocessor/dumptokens_phyloc.c

Added: cfe/trunk/test/Preprocessor/dumptokens_phyloc.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/dumptokens_phyloc.c?rev=53797&view=auto

==============================================================================
--- cfe/trunk/test/Preprocessor/dumptokens_phyloc.c (added)
+++ cfe/trunk/test/Preprocessor/dumptokens_phyloc.c Sat Jul 19 14:10:40 2008
@@ -0,0 +1,5 @@
+// RUN: clang -dumptokens %s 2>&1 | grep "PhysLoc=[_.a-zA-Z]*:3:20"
+
+#define TESTPHYLOC 10
+
+TESTPHYLOC





More information about the cfe-commits mailing list