diff options
author | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2013-11-12 03:12:18 +0000 |
---|---|---|
committer | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2013-11-12 03:12:18 +0000 |
commit | 634e75882f030b8564c32d4d01ee36c9469264bb (patch) | |
tree | 18d7e2a5cd5e4444ddd5cd5f2a4a7bbeafe6770d /pp-trace | |
parent | 1b9fe5884bb5bc5acd4197f95e58cfeefea20b26 (diff) |
Fixed moduleImport and ident callbacks. Fixed modules test. Added ident callback test. A better test for moduleExport is coming.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@194447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'pp-trace')
-rw-r--r-- | pp-trace/PPCallbacksTracker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pp-trace/PPCallbacksTracker.cpp b/pp-trace/PPCallbacksTracker.cpp index f5a0c06e..654c109a 100644 --- a/pp-trace/PPCallbacksTracker.cpp +++ b/pp-trace/PPCallbacksTracker.cpp @@ -166,7 +166,7 @@ void PPCallbacksTracker::Ident(clang::SourceLocation Loc, const std::string &Str) { beginCallback("Ident"); appendArgument("Loc", Loc); - appendQuotedArgument("Str", Str); + appendArgument("Str", Str); } // Callback invoked when start reading any pragma directive. @@ -527,7 +527,7 @@ void PPCallbacksTracker::appendArgument(const char *Name, SS << ", "; SS << "{" << "Name: " << Value[I].first->getName() << ", " - << "Loc:" << getSourceLocationString(PP, Value[I].second) << "}"; + << "Loc: " << getSourceLocationString(PP, Value[I].second) << "}"; } SS << "]"; appendArgument(Name, SS.str()); |