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:
efa951c
)
[TableGen] Add a space between type and '*' in front of a variable name in output...
author
Craig Topper
<craig.topper@gmail.com>
Sun, 11 Oct 2015 16:59:29 +0000
(16:59 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sun, 11 Oct 2015 16:59:29 +0000
(16:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249980
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/CodeGenDAGPatterns.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/CodeGenDAGPatterns.cpp
b/utils/TableGen/CodeGenDAGPatterns.cpp
index c01c0d8ce3494d819272a028c489b4108766b850..a91ed1854617ed7f1e7a449d963436998a207bfd 100644
(file)
--- a/
utils/TableGen/CodeGenDAGPatterns.cpp
+++ b/
utils/TableGen/CodeGenDAGPatterns.cpp
@@
-771,7
+771,7
@@
std::string TreePredicateFn::getCodeToRunOnSDNode() const {
if (ClassName == "SDNode")
Result = " SDNode *N = Node;\n";
else
- Result = "
" + ClassName + "
*N = cast<" + ClassName + ">(Node);\n";
+ Result = "
auto
*N = cast<" + ClassName + ">(Node);\n";
return Result + getPredCode();
}