summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/GlobalModuleIndex.cpp
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/Serialization/GlobalModuleIndex.cpp
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/Serialization/GlobalModuleIndex.cpp')
-rw-r--r--clang/lib/Serialization/GlobalModuleIndex.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/Serialization/GlobalModuleIndex.cpp b/clang/lib/Serialization/GlobalModuleIndex.cpp
index 1a6fc78c5b2..2c7da3e82a4 100644
--- a/clang/lib/Serialization/GlobalModuleIndex.cpp
+++ b/clang/lib/Serialization/GlobalModuleIndex.cpp
@@ -52,7 +52,7 @@ namespace {
/// \brief The index for identifiers.
IDENTIFIER_INDEX
};
-} // namespace
+}
/// \brief The name of the global index file.
static const char * const IndexFileName = "modules.idx";
@@ -121,7 +121,7 @@ public:
typedef llvm::OnDiskIterableChainedHashTable<IdentifierIndexReaderTrait>
IdentifierIndexTable;
-} // namespace
+}
GlobalModuleIndex::GlobalModuleIndex(std::unique_ptr<llvm::MemoryBuffer> Buffer,
llvm::BitstreamCursor Cursor)
@@ -430,7 +430,7 @@ namespace {
/// \brief Write the index to the given bitstream.
void writeIndex(llvm::BitstreamWriter &Stream);
};
-} // namespace
+}
static void emitBlockID(unsigned ID, const char *Name,
llvm::BitstreamWriter &Stream,
@@ -493,7 +493,7 @@ namespace {
return std::make_pair(k, IsInteresting);
}
};
-} // namespace
+}
bool GlobalModuleIndexBuilder::loadModuleFile(const FileEntry *File) {
// Open the module file.
@@ -684,7 +684,7 @@ public:
}
};
-} // namespace
+}
void GlobalModuleIndexBuilder::writeIndex(llvm::BitstreamWriter &Stream) {
using namespace llvm;
@@ -882,7 +882,7 @@ namespace {
return Result;
}
};
-} // namespace
+}
IdentifierIterator *GlobalModuleIndex::createIdentifierIterator() const {
IdentifierIndexTable &Table =
OpenPOWER on IntegriCloud