[PATCH] D90540: [Syntax] Add minimal TableGen for syntax nodes. NFC

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 4 12:08:46 PST 2020


hokein accepted this revision.
hokein added inline comments.


================
Comment at: clang/utils/TableGen/ClangSyntaxEmitter.cpp:107
+                                    llvm::raw_ostream &OS) {
+  OS << "// Generated from " << Records.getInputFilename() << "\n";
+  OS << R"cpp(
----------------
By looking at the existing tablegen patterns, I think we should invoke `emitSourceFileHeader` to emit the head file comments for the generated `.inc` file. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90540/new/

https://reviews.llvm.org/D90540



More information about the cfe-commits mailing list