summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfo.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-12-02 23:04:51 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-12-02 23:04:51 +0000
commit04867ce9b0cadc2df81c6050e7abe827fed75d95 (patch)
treefad5e36a31f982041697be747c7c96c5a573fa7c /llvm/lib/MC/MCAsmInfo.cpp
parent0471dcd274d2b8885247407df0abda4091104eb7 (diff)
downloadbcm5719-llvm-04867ce9b0cadc2df81c6050e7abe827fed75d95.tar.gz
bcm5719-llvm-04867ce9b0cadc2df81c6050e7abe827fed75d95.zip
Convert two char* that are only ever used as booleans to bool.
llvm-svn: 196168
Diffstat (limited to 'llvm/lib/MC/MCAsmInfo.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCAsmInfo.cpp b/llvm/lib/MC/MCAsmInfo.cpp
index a2ff92ff4f9..53c28c201b9 100644
--- a/llvm/lib/MC/MCAsmInfo.cpp
+++ b/llvm/lib/MC/MCAsmInfo.cpp
@@ -76,8 +76,8 @@ MCAsmInfo::MCAsmInfo() {
HasIdentDirective = false;
HasNoDeadStrip = false;
WeakRefDirective = 0;
- WeakDefDirective = 0;
- LinkOnceDirective = 0;
+ HasWeakDefDirective = false;
+ HasLinkOnceDirective = false;
HiddenVisibilityAttr = MCSA_Hidden;
HiddenDeclarationVisibilityAttr = MCSA_Hidden;
ProtectedVisibilityAttr = MCSA_Protected;
OpenPOWER on IntegriCloud