| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
we accept are not modeled somehow via Attr.td.
llvm-svn: 155998
|
|
|
|
|
|
| |
as an AST node, and fold a number of such attributes into Attr.td.
llvm-svn: 155995
|
|
|
|
|
|
| |
Benjamin has suggested a better approach.
llvm-svn: 155989
|
|
|
|
|
|
|
| |
IdentifierInfo *) with a static StringMap, improving -fsyntax-only
performance by 1% for the example in <rdar://problem/11004361>.
llvm-svn: 155987
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This submission improves Clang sema handling by using Clang tablegen
to generate common boilerplate code. As a start, it implements AttributeList
enumerator generation and case statements for AttributeList::getKind.
A new field "SemaHandler" is introduced in Attr.td and by default set to 1
as most of attributes in Attr.td have semantic checking in Sema. For a small
number of attributes that don't appear in Sema, the value is set to 0.
Also there are a small number of attributes that only appear in Sema but not
in Attr.td. Currently these attributes are still hardcoded in Sema AttributeList.
Reviewed by Delesley Hutchins.
llvm-svn: 152169
|
|
|
|
| |
llvm-svn: 150231
|
|
|
|
| |
llvm-svn: 149864
|
|
|
|
| |
llvm-svn: 148595
|
|
|
|
| |
llvm-svn: 148592
|
|
|
|
| |
llvm-svn: 148095
|
|
|
|
| |
llvm-svn: 145002
|
|
|
|
|
|
|
|
|
|
|
| |
- Remodel Expr::EvaluateAsInt to behave like the other EvaluateAs* functions,
and add Expr::EvaluateKnownConstInt to capture the current fold-or-assert
behaviour.
- Factor out evaluation of bitfield bit widths.
- Fix a few places which would evaluate an expression twice: once to determine
whether it is a constant expression, then again to get the value.
llvm-svn: 141561
|
|
the build systems to use clang-tblgen.
llvm-svn: 141291
|