projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b04c0d
)
[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.
llvm-svn: 227736
llvm/include/llvm/CodeGen/BasicTTIImpl.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/CodeGen/BasicTTIImpl.h
b/llvm/include/llvm/CodeGen/BasicTTIImpl.h
index
616e39f
..
2b9ee6b
100644
(file)
--- a/
llvm/include/llvm/CodeGen/BasicTTIImpl.h
+++ b/
llvm/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.