diff options
author | Eugene Zelenko <eugene.zelenko@gmail.com> | 2017-02-11 00:27:28 +0000 |
---|---|---|
committer | Eugene Zelenko <eugene.zelenko@gmail.com> | 2017-02-11 00:27:28 +0000 |
commit | d3a6c897ba992e572ebecd2bcfe66cd2b435246e (patch) | |
tree | 08de330c2ff38e80f8642cab20d7eaed63e025e8 /llvm/lib/MC/MCAsmInfoELF.cpp | |
parent | a2eb926e8aef74770a236c09573324917686fe8c (diff) | |
download | bcm5719-llvm-d3a6c897ba992e572ebecd2bcfe66cd2b435246e.tar.gz bcm5719-llvm-d3a6c897ba992e572ebecd2bcfe66cd2b435246e.zip |
[MC] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).
llvm-svn: 294813
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoELF.cpp')
-rw-r--r-- | llvm/lib/MC/MCAsmInfoELF.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCAsmInfoELF.cpp b/llvm/lib/MC/MCAsmInfoELF.cpp index 26e5608d873..e44c08b50d7 100644 --- a/llvm/lib/MC/MCAsmInfoELF.cpp +++ b/llvm/lib/MC/MCAsmInfoELF.cpp @@ -1,4 +1,4 @@ -//===-- MCAsmInfoELF.cpp - ELF asm properties -------------------*- C++ -*-===// +//===- MCAsmInfoELF.cpp - ELF asm properties ------------------------------===// // // The LLVM Compiler Infrastructure // @@ -16,9 +16,10 @@ #include "llvm/MC/MCContext.h" #include "llvm/MC/MCSectionELF.h" #include "llvm/Support/ELF.h" + using namespace llvm; -void MCAsmInfoELF::anchor() { } +void MCAsmInfoELF::anchor() {} MCSection *MCAsmInfoELF::getNonexecutableStackSection(MCContext &Ctx) const { if (!UsesNonexecutableStackSection) @@ -31,5 +32,4 @@ MCAsmInfoELF::MCAsmInfoELF() { WeakRefDirective = "\t.weak\t"; PrivateGlobalPrefix = ".L"; PrivateLabelPrefix = ".L"; - UsesNonexecutableStackSection = true; } |