[clang-tools-extra] r194079 - [extra] pp-trace - Fixed problems found while writing docs.
John Thompson
John.Thompson.JTSoftware at gmail.com
Tue Nov 5 06:16:11 PST 2013
Author: jtsoftware
Date: Tue Nov 5 08:16:11 2013
New Revision: 194079
URL: http://llvm.org/viewvc/llvm-project?rev=194079&view=rev
Log:
[extra] pp-trace - Fixed problems found while writing docs.
Modified:
clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.cpp
clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.h
Modified: clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.cpp?rev=194079&r1=194078&r2=194079&view=diff
==============================================================================
--- clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.cpp (original)
+++ clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.cpp Tue Nov 5 08:16:11 2013
@@ -166,7 +166,7 @@ void PPCallbacksTracker::Ident(clang::So
const std::string &Str) {
beginCallback("Ident");
appendArgument("Loc", Loc);
- appendArgument("Path", Str);
+ appendQuotedArgument("Str", Str);
}
// Callback invoked when start reading any pragma directive.
@@ -175,7 +175,7 @@ PPCallbacksTracker::PragmaDirective(clan
clang::PragmaIntroducerKind Introducer) {
beginCallback("PragmaDirective");
appendArgument("Loc", Loc);
- appendArgument("Path", Introducer, PragmaIntroducerKindStrings);
+ appendArgument("Introducer", Introducer, PragmaIntroducerKindStrings);
}
// Callback invoked when a #pragma comment directive is read.
Modified: clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.h?rev=194079&r1=194078&r2=194079&view=diff
==============================================================================
--- clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.h (original)
+++ clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.h Tue Nov 5 08:16:11 2013
@@ -160,9 +160,6 @@ public:
/// \brief Append a string to the top trace item.
void append(const char *Str);
- /// \brief Format and append a string to the top trace item.
- void appendFormatted(const char *Format, ...);
-
/// \brief Append a bool argument to the top trace item.
void appendArgument(const char *Name, bool Value);
More information about the cfe-commits
mailing list