[cfe-dev] Added keyword "module" conflicting with variable in generated file Attrs.inc
jordan_rose at apple.com
Fri Nov 2 13:31:52 PDT 2012
All Tablegen sources come from .td files; the attributes are in Attr.td. (Not sure why there's no 's' in the file name…). Because it's autogenerated, though, you might have trouble just renaming the variable. On the other hand, AFAIK no one is using those attributes right now except an experimental alpha checker in the static analyzer, and even that isn't hooked up to do anything with the "module" field in the attribute, so just removing it probably won't hurt your private fork.
On Nov 2, 2012, at 13:17 , Jeff Heckey <jheckey at gmail.com> wrote:
> Hi all,
> Where does llvm-tblgen get its sources for generated files? Specifically "class OwnershipAttr" in <build>/tools/clang/include/clang/AST/Attrs.inc?
> We are adding the keyword "module" and this class has a private variable named module that I can't find and causes compilation errors.
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev