This revision was automatically updated to reflect the committed changes.
Closed by commit rL312634: [AST] Add TableGen for StmtDataCollectors (authored
by krobelus).
Changed prior to commit:
https://reviews.llvm.org/D37383?vs=113547&id=114000#toc
Repository:
rL LLVM
https://reviews.llvm.or
teemperor accepted this revision.
teemperor added a comment.
This revision is now accepted and ready to land.
@johannes The blocking reviewer is because it touches clone detection code :)
Fine with me, I have some comments on things but nothing that affects this
review. LGTM!
https://reviews.l
johannes added a comment.
@teemperor ok for you? did phabricator make you a blocking reviewer because of
the affected code, or did I do that somehow?
https://reviews.llvm.org/D37383
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lis
arphaman added a comment.
LGTM with one inline comment below:
Comment at: utils/TableGen/TableGen.cpp:151
clEnumValN(GenOptDocs, "gen-opt-docs", "Generate option
documentation"),
+clEnumValN(GenDataCollectors, "gen-clang-data-collectors", "Generate
data colle
arphaman accepted this revision.
arphaman added a comment.
`def`s could work, but I think that we should stick with TableGen. As you've
said, we'd be able to introduce some sort of structure instead of just code in
the future which will be better (Ideally we'd try to do it now, but given the
fa
johannes added a comment.
In https://reviews.llvm.org/D37383#858905, @teemperor wrote:
> @arphaman I suggested tablegen in https://reviews.llvm.org/D36664 because I
> remembered we had some CMake sanity check about not having an *.inc in our
> include dir:
> https://github.com/llvm-mirror/clan
arphaman added a comment.
In https://reviews.llvm.org/D37383#858905, @teemperor wrote:
> @arphaman I suggested tablegen in https://reviews.llvm.org/D36664 because I
> remembered we had some CMake sanity check about not having an *.inc in our
> include dir:
> https://github.com/llvm-mirror/clan
teemperor added a comment.
@arphaman I suggested tablegen in https://reviews.llvm.org/D36664 because I
remembered we had some CMake sanity check about not having an *.inc in our
include dir:
https://github.com/llvm-mirror/clang/blob/master/CMakeLists.txt#L266 Not sure
if it actually fires for
arphaman added a comment.
TableGen is great for structured data, but we shouldn't use it just to embed
code in it. What was the issue you've had with the build when the inc file was
in include?
https://reviews.llvm.org/D37383
___
cfe-commits maili
johannes created this revision.
Herald added a subscriber: mgorny.
Herald added 1 blocking reviewer(s): teemperor.
This adds an option "-gen-clang-data-collectors" to the Clang TableGen
that is used to generate StmtDataCollectors.inc.
https://reviews.llvm.org/D37383
Files:
include/clang/AST/C
10 matches
Mail list logo