summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-06-22 23:07:51 +0000
committerAlexander Kornienko <alexfh@google.com>2015-06-22 23:07:51 +0000
commitab9db51042d1b821d324a209f3ba37e5ee7525a7 (patch)
tree02b8d37aa99733a57641681111d0277aa97c4477 /clang/lib/Lex
parentf530b329c7ac6c80ea8ea927d1bd310168c1c3f2 (diff)
downloadbcm5719-llvm-ab9db51042d1b821d324a209f3ba37e5ee7525a7.tar.gz
bcm5719-llvm-ab9db51042d1b821d324a209f3ba37e5ee7525a7.zip
Revert r240270 ("Fixed/added namespace ending comments using clang-tidy").
llvm-svn: 240353
Diffstat (limited to 'clang/lib/Lex')
-rw-r--r--clang/lib/Lex/ModuleMap.cpp4
-rw-r--r--clang/lib/Lex/PPExpressions.cpp2
-rw-r--r--clang/lib/Lex/PTHLexer.cpp2
-rw-r--r--clang/lib/Lex/Pragma.cpp2
-rw-r--r--clang/lib/Lex/PreprocessingRecord.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp
index 4ef0674f8d6..306401c5e6f 100644
--- a/clang/lib/Lex/ModuleMap.cpp
+++ b/clang/lib/Lex/ModuleMap.cpp
@@ -1069,7 +1069,7 @@ namespace clang {
bool parseModuleMapFile();
};
-} // namespace clang
+}
SourceLocation ModuleMapParser::consumeToken() {
retry:
@@ -1263,7 +1263,7 @@ namespace {
/// \brief The 'exhaustive' attribute.
AT_exhaustive
};
-} // namespace
+}
/// \brief Parse a module declaration.
///
diff --git a/clang/lib/Lex/PPExpressions.cpp b/clang/lib/Lex/PPExpressions.cpp
index df7eec248df..44513023395 100644
--- a/clang/lib/Lex/PPExpressions.cpp
+++ b/clang/lib/Lex/PPExpressions.cpp
@@ -52,7 +52,7 @@ public:
void setEnd(SourceLocation L) { Range.setEnd(L); }
};
-} // namespace
+}
static bool EvaluateDirectiveSubExpr(PPValue &LHS, unsigned MinPrec,
Token &PeekTok, bool ValueLive,
diff --git a/clang/lib/Lex/PTHLexer.cpp b/clang/lib/Lex/PTHLexer.cpp
index c2750f6a802..5f63d35c5be 100644
--- a/clang/lib/Lex/PTHLexer.cpp
+++ b/clang/lib/Lex/PTHLexer.cpp
@@ -721,7 +721,7 @@ public:
return CacheExists;
}
};
-} // namespace clang
+}
std::unique_ptr<FileSystemStatCache> PTHManager::createStatCache() {
return llvm::make_unique<PTHStatCache>(*FileLookup);
diff --git a/clang/lib/Lex/Pragma.cpp b/clang/lib/Lex/Pragma.cpp
index 9e3d7b0bbed..5eb665549e8 100644
--- a/clang/lib/Lex/Pragma.cpp
+++ b/clang/lib/Lex/Pragma.cpp
@@ -157,7 +157,7 @@ public:
Failed = true;
}
};
-} // namespace
+}
/// Handle_Pragma - Read a _Pragma directive, slice it up, process it, then
/// return the first token after the directive. The _Pragma token has just
diff --git a/clang/lib/Lex/PreprocessingRecord.cpp b/clang/lib/Lex/PreprocessingRecord.cpp
index 824546a2c88..a423041a2d9 100644
--- a/clang/lib/Lex/PreprocessingRecord.cpp
+++ b/clang/lib/Lex/PreprocessingRecord.cpp
@@ -195,7 +195,7 @@ struct PPEntityComp {
}
};
-} // namespace
+}
unsigned PreprocessingRecord::findBeginLocalPreprocessedEntity(
SourceLocation Loc) const {
OpenPOWER on IntegriCloud