[clang-tools-extra] r186948 - Fix doxygen warnings
Ariel J. Bernal
ariel.j.bernal at intel.com
Tue Jul 23 08:52:07 PDT 2013
Author: ajbernal
Date: Tue Jul 23 10:52:07 2013
New Revision: 186948
URL: http://llvm.org/viewvc/llvm-project?rev=186948&view=rev
Log:
Fix doxygen warnings
It seems that doxygen fails to find overloaded methods when the parameters are
not in sync with the method declaration.
Added the fully-qualifed type to the parameters method definition although it's
not necessary since the using directive is in effect.
Modified:
clang-tools-extra/trunk/cpp11-migrate/Core/FileOverrides.cpp
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=186948&r1=186947&r2=186948&view=diff
==============================================================================
--- clang-tools-extra/trunk/cpp11-migrate/Core/FileOverrides.cpp (original)
+++ clang-tools-extra/trunk/cpp11-migrate/Core/FileOverrides.cpp Tue Jul 23 10:52:07 2013
@@ -31,7 +31,8 @@ SourceOverrides::SourceOverrides(llvm::S
bool TrackChanges)
: MainFileName(MainFileName), TrackChanges(TrackChanges) {}
-void SourceOverrides::applyReplacements(Replacements &Replaces) {
+void
+SourceOverrides::applyReplacements(clang::tooling::Replacements &Replaces) {
llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions> DiagOpts(
new DiagnosticOptions());
DiagnosticsEngine Diagnostics(
@@ -42,8 +43,8 @@ void SourceOverrides::applyReplacements(
applyReplacements(Replaces, SM);
}
-void SourceOverrides::applyReplacements(tooling::Replacements &Replaces,
- SourceManager &SM) {
+void SourceOverrides::applyReplacements(clang::tooling::Replacements &Replaces,
+ clang::SourceManager &SM) {
applyOverrides(SM);
Rewriter Rewrites(SM, LangOptions());
More information about the cfe-commits
mailing list