From: Ted Kremenek Date: Sat, 19 Jul 2008 19:10:40 +0000 (+0000) Subject: Patch by Kovarththanan Rajaratnam: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24af60f52868329a31fe50643a9a7a4ad61cf6c7;p=clang Patch by Kovarththanan Rajaratnam: "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 --- diff --git a/test/Preprocessor/dumptokens_phyloc.c b/test/Preprocessor/dumptokens_phyloc.c new file mode 100644 index 0000000000..45081ec161 --- /dev/null +++ b/test/Preprocessor/dumptokens_phyloc.c @@ -0,0 +1,5 @@ +// RUN: clang -dumptokens %s 2>&1 | grep "PhysLoc=[_.a-zA-Z]*:3:20" + +#define TESTPHYLOC 10 + +TESTPHYLOC