diff options
author | Alexander Kornienko <alexfh@google.com> | 2015-06-19 15:57:42 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2015-06-19 15:57:42 +0000 |
commit | 70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5 (patch) | |
tree | dd9eee8a6b672d414ae91873338be655edc1f54e /llvm/lib/Transforms/IPO/GlobalOpt.cpp | |
parent | 55112defb087fc45b6cc1ae724d8ac04cf10b589 (diff) | |
download | bcm5719-llvm-70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5.tar.gz bcm5719-llvm-70bc5f1398c2d4fbfa4f5ae524b5514f3abe12b5.zip |
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/Transforms/IPO/GlobalOpt.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/GlobalOpt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/GlobalOpt.cpp b/llvm/lib/Transforms/IPO/GlobalOpt.cpp index cc4a79fa67d..0d83c820aa0 100644 --- a/llvm/lib/Transforms/IPO/GlobalOpt.cpp +++ b/llvm/lib/Transforms/IPO/GlobalOpt.cpp @@ -89,7 +89,7 @@ namespace { TargetLibraryInfo *TLI; SmallSet<const Comdat *, 8> NotDiscardableComdats; }; -} +} // namespace char GlobalOpt::ID = 0; INITIALIZE_PASS_BEGIN(GlobalOpt, "globalopt", @@ -2786,7 +2786,7 @@ public: setUsedInitializer(*CompilerUsedV, CompilerUsed); } }; -} +} // namespace static bool hasUseOtherThanLLVMUsed(GlobalAlias &GA, const LLVMUsed &U) { if (GA.use_empty()) // No use at all. |