[PATCH] D90672: [clang] Simplify buildSyntaxTree API

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 3 07:08:31 PST 2020


sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/include/clang/Tooling/Syntax/BuildTree.h:21
 
 /// Build a syntax tree for the main file.
+syntax::TranslationUnit *buildSyntaxTree(Arena &A, ASTContext &Context);
----------------
we should update the comment for this...

/// This usually covers the whole TranslationUnitDecl, but can be restricted by the ASTContext's traversal scope.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90672



More information about the cfe-commits mailing list