summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCAsmInfo.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-13 04:57:38 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-13 04:57:38 +0000
commit4266ae806798f1e8982a53bb9babe1e508adfc68 (patch)
treed0a8021366191c2884dc07bfe73a2daee0b417c1 /include/llvm/MC/MCAsmInfo.h
parent4e510c10b5310cffe6c27fb49c7f7d170dc73639 (diff)
downloadllvm-4266ae806798f1e8982a53bb9babe1e508adfc68.tar.gz
llvm-4266ae806798f1e8982a53bb9babe1e508adfc68.tar.bz2
llvm-4266ae806798f1e8982a53bb9babe1e508adfc68.tar.xz
[C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206129 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCAsmInfo.h')
-rw-r--r--include/llvm/MC/MCAsmInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h
index 037a24f85b..f7d3be251e 100644
--- a/include/llvm/MC/MCAsmInfo.h
+++ b/include/llvm/MC/MCAsmInfo.h
@@ -365,7 +365,7 @@ namespace llvm {
/// specify a section to switch to if the translation unit doesn't have any
/// trampolines that require an executable stack.
virtual const MCSection *getNonexecutableStackSection(MCContext &Ctx) const{
- return 0;
+ return nullptr;
}
virtual const MCExpr *