This is setup for allowing hasAttribute to work for plugin-provided attributes
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang/utils/TableGen/ClangAttrEmitter.cpp | ||
|---|---|---|
| 3368 | Not sure if this should be an assert or if 0 is fine. | |
Comment Actions
LGTM aside from a request to switch to an assert. Thanks for this cleanup!
| clang/utils/TableGen/ClangAttrEmitter.cpp | ||
|---|---|---|
| 3368 | I think this should probably be an assertion -- keyword attributes are sufficiently weird that I'd rather we not accidentally support this interface; we can intentionally support it later if we find a need. | |
Not sure if this should be an assert or if 0 is fine.