projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e89e13
)
[multiversion] Remove another place we were "handling" nullptr even
author
Chandler Carruth
<chandlerc@gmail.com>
Sun, 1 Feb 2015 13:21:04 +0000
(13:21 +0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Sun, 1 Feb 2015 13:21:04 +0000
(13:21 +0000)
though it was never a reasonable input.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227736
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/BasicTTIImpl.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/BasicTTIImpl.h
b/include/llvm/CodeGen/BasicTTIImpl.h
index 616e39f96887772e4b8e70c0735a708be1de1fb4..2b9ee6b7db31949e0103949fee6dd2d0cab35b04 100644
(file)
--- a/
include/llvm/CodeGen/BasicTTIImpl.h
+++ b/
include/llvm/CodeGen/BasicTTIImpl.h
@@
-77,8
+77,8
@@
private:
protected:
const TargetMachine *TM;
- explicit BasicTTIImplBase(const TargetMachine *TM
= nullptr
)
- : BaseT(TM
? TM->getDataLayout() : nullptr
), TM(TM) {}
+ explicit BasicTTIImplBase(const TargetMachine *TM)
+ : BaseT(TM
->getDataLayout()
), TM(TM) {}
public:
// Provide value semantics. MSVC requires that we spell all of these out.