[clang-tools-extra] r188394 - cpp11-migrate: Fixing doxygen warnings
Tareq A. Siraj
tareq.a.siraj at intel.com
Wed Aug 14 10:47:39 PDT 2013
Author: tasiraj
Date: Wed Aug 14 12:47:39 2013
New Revision: 188394
URL: http://llvm.org/viewvc/llvm-project?rev=188394&view=rev
Log:
cpp11-migrate: Fixing doxygen warnings
For some reason doxygen doesn't seem to like the using namespace
clang::tooling in the source file and complaints about missing class
members.
Also fixed missing parameter documentation for TransformName in
SourceOverrides::applyReplacements().
Differential Revision: http://llvm-reviews.chandlerc.com/D1400
Modified:
clang-tools-extra/trunk/cpp11-migrate/Core/FileOverrides.cpp
clang-tools-extra/trunk/cpp11-migrate/Core/FileOverrides.h
Modified: clang-tools-extra/trunk/cpp11-migrate/Core/FileOverrides.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/cpp11-migrate/Core/FileOverrides.cpp?rev=188394&r1=188393&r2=188394&view=diff
==============================================================================
--- clang-tools-extra/trunk/cpp11-migrate/Core/FileOverrides.cpp (original)
+++ clang-tools-extra/trunk/cpp11-migrate/Core/FileOverrides.cpp Wed Aug 14 12:47:39 2013
@@ -40,7 +40,7 @@ SourceOverrides::SourceOverrides(llvm::S
bool TrackChanges)
: MainFileName(MainFileName), TrackChanges(TrackChanges) {}
-void SourceOverrides::applyReplacements(tooling::Replacements &Replaces,
+void SourceOverrides::applyReplacements(clang::tooling::Replacements &Replaces,
llvm::StringRef TransformName) {
llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions> DiagOpts(
new DiagnosticOptions());
@@ -52,8 +52,8 @@ void SourceOverrides::applyReplacements(
applyReplacements(Replaces, SM, TransformName);
}
-void SourceOverrides::applyReplacements(tooling::Replacements &Replaces,
- SourceManager &SM,
+void SourceOverrides::applyReplacements(clang::tooling::Replacements &Replaces,
+ clang::SourceManager &SM,
llvm::StringRef TransformName) {
applyOverrides(SM);
Modified: clang-tools-extra/trunk/cpp11-migrate/Core/FileOverrides.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/cpp11-migrate/Core/FileOverrides.h?rev=188394&r1=188393&r2=188394&view=diff
==============================================================================
--- clang-tools-extra/trunk/cpp11-migrate/Core/FileOverrides.h (original)
+++ clang-tools-extra/trunk/cpp11-migrate/Core/FileOverrides.h Wed Aug 14 12:47:39 2013
@@ -141,6 +141,7 @@ public:
///
/// \param Replaces The replacements to apply.
/// \param SM A user provided SourceManager to be used when applying rewrites.
+ /// \param TransformName The name of the transform the replacements come from.
void applyReplacements(clang::tooling::Replacements &Replaces,
clang::SourceManager &SM,
llvm::StringRef TransformName);
More information about the cfe-commits
mailing list