]> granicus.if.org Git - clang/commitdiff
Patch by Kovarththanan Rajaratnam:
authorTed Kremenek <kremenek@apple.com>
Sat, 19 Jul 2008 19:10:40 +0000 (19:10 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 19 Jul 2008 19:10:40 +0000 (19:10 +0000)
"When dumping the tokens (-dumptokens output type), the column numbers are not
correctly shown. This patch fixes that issue."

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53797 91177308-0d34-0410-b5e6-96231b3b80d8

test/Preprocessor/dumptokens_phyloc.c [new file with mode: 0644]

diff --git a/test/Preprocessor/dumptokens_phyloc.c b/test/Preprocessor/dumptokens_phyloc.c
new file mode 100644 (file)
index 0000000..45081ec
--- /dev/null
@@ -0,0 +1,5 @@
+// RUN: clang -dumptokens %s 2>&1 | grep "PhysLoc=[_.a-zA-Z]*:3:20"
+
+#define TESTPHYLOC 10
+
+TESTPHYLOC