diff options
| author | Alexander Kornienko <alexfh@google.com> | 2015-06-22 23:07:51 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2015-06-22 23:07:51 +0000 |
| commit | ab9db51042d1b821d324a209f3ba37e5ee7525a7 (patch) | |
| tree | 02b8d37aa99733a57641681111d0277aa97c4477 /clang/lib/Serialization/ASTReader.cpp | |
| parent | f530b329c7ac6c80ea8ea927d1bd310168c1c3f2 (diff) | |
| download | bcm5719-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/Serialization/ASTReader.cpp')
| -rw-r--r-- | clang/lib/Serialization/ASTReader.cpp | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/clang/lib/Serialization/ASTReader.cpp b/clang/lib/Serialization/ASTReader.cpp index 5ecedc7df0d..7242793be22 100644 --- a/clang/lib/Serialization/ASTReader.cpp +++ b/clang/lib/Serialization/ASTReader.cpp @@ -1686,7 +1686,7 @@ namespace { // files. IdentifierInfo *getIdentifierInfo() const { return Found; } }; -} // namespace +} void ASTReader::updateOutOfDateIdentifier(IdentifierInfo &II) { // Note that we are loading an identifier. @@ -3954,7 +3954,7 @@ namespace { SuggestedPredefines, ExistingLangOpts); } }; -} // namespace +} bool ASTReader::readASTFileControlBlock( StringRef Filename, FileManager &FileMgr, @@ -4739,7 +4739,7 @@ struct PPEntityComp { } }; -} // namespace +} PreprocessedEntityID ASTReader::findPreprocessedEntity(SourceLocation Loc, bool EndsAfter) const { @@ -4859,7 +4859,7 @@ namespace { Optional<HeaderFileInfo> getHeaderFileInfo() const { return HFI; } }; -} // namespace +} HeaderFileInfo ASTReader::GetHeaderFileInfo(const FileEntry *FE) { HeaderFileInfoVisitor Visitor(FE); @@ -6192,7 +6192,7 @@ namespace { return false; } }; -} // namespace +} ExternalLoadResult ASTReader::FindExternalLexicalDecls(const DeclContext *DC, bool (*isKindWeWant)(Decl::Kind), @@ -6237,7 +6237,7 @@ public: } }; -} // namespace +} void ASTReader::FindFileRegionDecls(FileID File, unsigned Offset, unsigned Length, @@ -6355,7 +6355,7 @@ namespace { return FoundAnything; } }; -} // namespace +} /// \brief Retrieve the "definitive" module file for the definition of the /// given declaration context, if there is one. @@ -6504,7 +6504,7 @@ namespace { return FoundAnything && !This->VisitAll; } }; -} // namespace +} void ASTReader::completeVisibleDeclsMap(const DeclContext *DC) { if (!DC->hasExternalVisibleStorage()) @@ -6848,7 +6848,7 @@ namespace clang { StringRef Next() override; }; -} // namespace clang +} ASTIdentifierIterator::ASTIdentifierIterator(const ASTReader &Reader) : Reader(Reader), Index(Reader.ModuleMgr.size() - 1) { @@ -6960,8 +6960,7 @@ namespace clang { namespace serialization { } bool factoryHasMoreThanOneDecl() const { return FactoryHasMoreThanOneDecl; } }; -} // namespace serialization - } // namespace clang +} } // end namespace clang::serialization /// \brief Add the given set of methods to the method list. static void addMethodsToPool(Sema &S, ArrayRef<ObjCMethodDecl *> Methods, |

