summaryrefslogtreecommitdiffstats
path: root/pp-trace
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2013-11-14 00:18:19 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2013-11-14 00:18:19 +0000
commitdd426dfa348fa311e932a53716382f66a573f92e (patch)
tree234c808749f03b881b79305754adb3bc01080976 /pp-trace
parentc762ad5e180d41f039b30244a48362336a027c0f (diff)
[extra] pp-trace - Fix for PragmaWarning output, adding tests for the pragma callbacks.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@194636 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'pp-trace')
-rw-r--r--pp-trace/PPCallbacksTracker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pp-trace/PPCallbacksTracker.cpp b/pp-trace/PPCallbacksTracker.cpp
index 654c109a..c0244184 100644
--- a/pp-trace/PPCallbacksTracker.cpp
+++ b/pp-trace/PPCallbacksTracker.cpp
@@ -276,6 +276,7 @@ void PPCallbacksTracker::PragmaWarning(clang::SourceLocation Loc,
SS << ", ";
SS << Ids[i];
}
+ SS << "]";
appendArgument("Ids", SS.str());
}