[llvm] 7085ac8 - [ORC] Switch to C++17 nested namespaces. NFC.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 10 02:18:29 PST 2024
Author: Lang Hames
Date: 2024-11-10T21:14:12+11:00
New Revision: 7085ac8a0718a3a37c7cb6641203e72fbc0b1aea
URL: https://github.com/llvm/llvm-project/commit/7085ac8a0718a3a37c7cb6641203e72fbc0b1aea
DIFF: https://github.com/llvm/llvm-project/commit/7085ac8a0718a3a37c7cb6641203e72fbc0b1aea.diff
LOG: [ORC] Switch to C++17 nested namespaces. NFC.
Added:
Modified:
llvm/include/llvm/ExecutionEngine/Orc/MaterializationUnit.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/MaterializationUnit.h b/llvm/include/llvm/ExecutionEngine/Orc/MaterializationUnit.h
index 115e5630f53a3d..4ac8f6b6ba05ad 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/MaterializationUnit.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/MaterializationUnit.h
@@ -17,8 +17,7 @@
#include "llvm/ExecutionEngine/Orc/CoreContainers.h"
#include "llvm/ExecutionEngine/Orc/SymbolStringPool.h"
-namespace llvm {
-namespace orc {
+namespace llvm::orc {
class MaterializationResponsibility;
@@ -99,7 +98,6 @@ class MaterializationUnit {
virtual void discard(const JITDylib &JD, const SymbolStringPtr &Name) = 0;
};
-} // End namespace orc
-} // End namespace llvm
+} // namespace llvm::orc
#endif // LLVM_EXECUTIONENGINE_ORC_MATERIALIZATIONUNIT_H
More information about the llvm-commits
mailing list