projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[C++11] Use 'nullptr' in tablegen output files.
[oota-llvm.git]
/
utils
/
TableGen
/
SubtargetEmitter.cpp
diff --git
a/utils/TableGen/SubtargetEmitter.cpp
b/utils/TableGen/SubtargetEmitter.cpp
index 39130bde06e31fd57ffbfba52dc9a3a54f7a2df6..846a485959c304337742405d4bb034063a4aaa5a 100644
(file)
--- a/
utils/TableGen/SubtargetEmitter.cpp
+++ b/
utils/TableGen/SubtargetEmitter.cpp
@@
-578,7
+578,7
@@
EmitItineraries(raw_ostream &OS,
OS << "\n";
OS << "static const llvm::InstrItinerary ";
if (ItinList.empty()) {
- OS << '*' << Name << " =
0
;\n";
+ OS << '*' << Name << " =
nullptr
;\n";
continue;
}