summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCTargetOptions.cpp
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2017-02-10 01:33:54 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2017-02-10 01:33:54 +0000
commit4b6ff6b86ea04ee9a29924b7417bf6813cc05d5a (patch)
tree192a899f2610a636727f6e81ac1e0ed9dec007ed /llvm/lib/MC/MCTargetOptions.cpp
parent78e3d70135d29d1e72328138fac85ab14bcc0ef5 (diff)
downloadbcm5719-llvm-4b6ff6b86ea04ee9a29924b7417bf6813cc05d5a.tar.gz
bcm5719-llvm-4b6ff6b86ea04ee9a29924b7417bf6813cc05d5a.zip
[MC] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).
llvm-svn: 294685
Diffstat (limited to 'llvm/lib/MC/MCTargetOptions.cpp')
-rw-r--r--llvm/lib/MC/MCTargetOptions.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/llvm/lib/MC/MCTargetOptions.cpp b/llvm/lib/MC/MCTargetOptions.cpp
index 419210537ee..5d666b67fdd 100644
--- a/llvm/lib/MC/MCTargetOptions.cpp
+++ b/llvm/lib/MC/MCTargetOptions.cpp
@@ -1,4 +1,4 @@
-//===- lib/MC/MCTargetOptions.cpp - MC Target Options --------------------===//
+//===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -10,19 +10,16 @@
#include "llvm/ADT/StringRef.h"
#include "llvm/MC/MCTargetOptions.h"
-namespace llvm {
+using namespace llvm;
MCTargetOptions::MCTargetOptions()
: SanitizeAddress(false), MCRelaxAll(false), MCNoExecStack(false),
MCFatalWarnings(false), MCNoWarn(false), MCNoDeprecatedWarn(false),
- MCSaveTempLabels(false),
- MCUseDwarfDirectory(false), MCIncrementalLinkerCompatible(false),
- MCPIECopyRelocations(false), ShowMCEncoding(false),
- ShowMCInst(false), AsmVerbose(false),
- PreserveAsmComments(true), DwarfVersion(0), ABIName() {}
+ MCSaveTempLabels(false), MCUseDwarfDirectory(false),
+ MCIncrementalLinkerCompatible(false), MCPIECopyRelocations(false),
+ ShowMCEncoding(false), ShowMCInst(false), AsmVerbose(false),
+ PreserveAsmComments(true) {}
StringRef MCTargetOptions::getABIName() const {
return ABIName;
}
-
-} // end namespace llvm
OpenPOWER on IntegriCloud