aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-06-19 15:57:42 +0000
committerAlexander Kornienko <alexfh@google.com>2015-06-19 15:57:42 +0000
commit70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5 (patch)
treedd9eee8a6b672d414ae91873338be655edc1f54e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent55112defb087fc45b6cc1ae724d8ac04cf10b589 (diff)
downloadllvm-70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5.zip
llvm-70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5.tar.gz
llvm-70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5.tar.bz2
Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ llvm/lib/ Thanks to Eugene Kosov for the original patch! llvm-svn: 240137
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index ccb9d5d..0cadd6c 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -731,7 +731,7 @@ public:
/// Provide fast operand accessors
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
};
-}
+} // namespace
// FIXME: can we inherit this from ConstantExpr?
template <>
@@ -739,7 +739,7 @@ struct OperandTraits<ConstantPlaceHolder> :
public FixedNumOperandTraits<ConstantPlaceHolder, 1> {
};
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ConstantPlaceHolder, Value)
-}
+} // namespace llvm
void BitcodeReaderValueList::assignValue(Value *V, unsigned Idx) {
if (Idx == size()) {
@@ -4618,7 +4618,7 @@ class BitcodeErrorCategoryType : public std::error_category {
llvm_unreachable("Unknown error type!");
}
};
-}
+} // namespace
static ManagedStatic<BitcodeErrorCategoryType> ErrorCategory;