r232947 - [tooling] Move ArgumentsAdjustingCompilations into an anonymous namespace.
Benjamin Kramer
benny.kra at googlemail.com
Mon Mar 23 05:47:15 PDT 2015
Author: d0k
Date: Mon Mar 23 07:47:15 2015
New Revision: 232947
URL: http://llvm.org/viewvc/llvm-project?rev=232947&view=rev
Log:
[tooling] Move ArgumentsAdjustingCompilations into an anonymous namespace.
NFC.
Modified:
cfe/trunk/lib/Tooling/CommonOptionsParser.cpp
Modified: cfe/trunk/lib/Tooling/CommonOptionsParser.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Tooling/CommonOptionsParser.cpp?rev=232947&r1=232946&r2=232947&view=diff
==============================================================================
--- cfe/trunk/lib/Tooling/CommonOptionsParser.cpp (original)
+++ cfe/trunk/lib/Tooling/CommonOptionsParser.cpp Mon Mar 23 07:47:15 2015
@@ -54,6 +54,7 @@ const char *const CommonOptionsParser::H
"\tsuffix of a path in the compile command database.\n"
"\n";
+namespace {
class ArgumentsAdjustingCompilations : public CompilationDatabase {
public:
ArgumentsAdjustingCompilations(
@@ -89,6 +90,7 @@ private:
return Commands;
}
};
+} // namespace
CommonOptionsParser::CommonOptionsParser(int &argc, const char **argv,
cl::OptionCategory &Category,
More information about the cfe-commits
mailing list