Skip to content
Permalink
Browse files

Trivial adding new lines.

  • Loading branch information...
ayermolo authored and jfix71 committed Mar 13, 2019
1 parent 685551a commit 65e7c58bf1dd916304e6f6a9fb18b8c4d084b95f
Showing with 4 additions and 4 deletions.
  1. +4 −4 tools/ClassGen/NodeGen.cpp
@@ -622,16 +622,16 @@ int main(int argc, char **argv) {
.addMember(MemberType::String, "ProfiledNodeName")
.addMember(MemberType::Unsigned, "ProfiledOutputNumber")
.addExtraMethod(
"Placeholder *getHistogramPlaceholder() const ;",
"Placeholder *getHistogramPlaceholder() const ;\n",
"Placeholder *QuantizationProfileNode::getHistogramPlaceholder() "
"const { return "
"llvm::cast<Placeholder>(Histogram_.getNode()); };")
"llvm::cast<Placeholder>(Histogram_.getNode()); };\n")
.addExtraMethod(
"Placeholder *getComputationInfoPlaceholder() const;",
"Placeholder *getComputationInfoPlaceholder() const;\n",
"Placeholder "
"*QuantizationProfileNode::getComputationInfoPlaceholder() const "
"{ "
"return llvm::cast<Placeholder>(ComputationInfo_.getNode()); };")
"return llvm::cast<Placeholder>(ComputationInfo_.getNode()); };\n")
.addOverwrittenInput("ComputationInfo")
.addOverwrittenInput("Histogram")
.setHasSideEffects(true)

0 comments on commit 65e7c58

Please sign in to comment.
You can’t perform that action at this time.