[cfe-commits] r130621 - in /cfe/trunk/lib/Tooling: JsonCompileCommandLineDatabase.h Tooling.cpp

Benjamin Kramer benny.kra at googlemail.com
Sat Apr 30 12:55:55 PDT 2011


Author: d0k
Date: Sat Apr 30 14:55:55 2011
New Revision: 130621

URL: http://llvm.org/viewvc/llvm-project?rev=130621&view=rev
Log:
Remove noisy semicolons.

Modified:
    cfe/trunk/lib/Tooling/JsonCompileCommandLineDatabase.h
    cfe/trunk/lib/Tooling/Tooling.cpp

Modified: cfe/trunk/lib/Tooling/JsonCompileCommandLineDatabase.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Tooling/JsonCompileCommandLineDatabase.h?rev=130621&r1=130620&r2=130621&view=diff
==============================================================================
--- cfe/trunk/lib/Tooling/JsonCompileCommandLineDatabase.h (original)
+++ cfe/trunk/lib/Tooling/JsonCompileCommandLineDatabase.h Sat Apr 30 14:55:55 2011
@@ -40,7 +40,7 @@
 /// \brief Interface for users of the JsonCompileCommandLineParser.
 class CompileCommandHandler {
  public:
-  virtual ~CompileCommandHandler() {};
+  virtual ~CompileCommandHandler() {}
 
   /// \brief Called after all translation units are parsed.
   virtual void EndTranslationUnits() {}

Modified: cfe/trunk/lib/Tooling/Tooling.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Tooling/Tooling.cpp?rev=130621&r1=130620&r2=130621&view=diff
==============================================================================
--- cfe/trunk/lib/Tooling/Tooling.cpp (original)
+++ cfe/trunk/lib/Tooling/Tooling.cpp Sat Apr 30 14:55:55 2011
@@ -268,7 +268,7 @@
 class FindHandler : public clang::tooling::CompileCommandHandler {
  public:
   explicit FindHandler(llvm::StringRef File)
-      : FileToMatch(File), FoundMatchingCommand(false) {};
+      : FileToMatch(File), FoundMatchingCommand(false) {}
 
   virtual void EndTranslationUnits() {
     if (!FoundMatchingCommand && ErrorMessage.empty()) {





More information about the cfe-commits mailing list