summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/LlvmState.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-10-22 17:10:47 +0000
committerFangrui Song <maskray@google.com>2018-10-22 17:10:47 +0000
commit32401afd8cb86680afa1bc93e732b5fbc5a83401 (patch)
tree104d8d309cfeaaf0686baf678eb784dd6116b8a7 /llvm/tools/llvm-exegesis/lib/LlvmState.cpp
parent8d8dcfe690e64608f89af071038851f1c4925ee4 (diff)
downloadbcm5719-llvm-32401afd8cb86680afa1bc93e732b5fbc5a83401.tar.gz
bcm5719-llvm-32401afd8cb86680afa1bc93e732b5fbc5a83401.zip
[llvm-exegesis] Move namespace exegesis inside llvm::
Summary: This allows simplifying references of llvm::foo with foo when the needs come in the future. Reviewers: courbet, gchatelet Reviewed By: gchatelet Subscribers: javed.absar, tschuett, llvm-commits Differential Revision: https://reviews.llvm.org/D53455 llvm-svn: 344922
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/LlvmState.cpp')
-rw-r--r--llvm/tools/llvm-exegesis/lib/LlvmState.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/LlvmState.cpp b/llvm/tools/llvm-exegesis/lib/LlvmState.cpp
index 279792e9031..ba786cc97ce 100644
--- a/llvm/tools/llvm-exegesis/lib/LlvmState.cpp
+++ b/llvm/tools/llvm-exegesis/lib/LlvmState.cpp
@@ -19,6 +19,7 @@
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetOptions.h"
+namespace llvm {
namespace exegesis {
LLVMState::LLVMState(const std::string &Triple, const std::string &CpuName) {
@@ -71,3 +72,4 @@ bool LLVMState::canAssemble(const llvm::MCInst &Inst) const {
}
} // namespace exegesis
+} // namespace llvm
OpenPOWER on IntegriCloud