mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[TableGen] Add a space between type and '*' in front of a variable name in output file. While there replace type with 'auto' since there's a cast on the right side of the assignment. NFC
llvm-svn: 249980
This commit is contained in:
parent
a7582c1073
commit
df32bdfb27
@ -771,7 +771,7 @@ std::string TreePredicateFn::getCodeToRunOnSDNode() const {
|
|||||||
if (ClassName == "SDNode")
|
if (ClassName == "SDNode")
|
||||||
Result = " SDNode *N = Node;\n";
|
Result = " SDNode *N = Node;\n";
|
||||||
else
|
else
|
||||||
Result = " " + ClassName + "*N = cast<" + ClassName + ">(Node);\n";
|
Result = " auto *N = cast<" + ClassName + ">(Node);\n";
|
||||||
|
|
||||||
return Result + getPredCode();
|
return Result + getPredCode();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user