| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 157228
|
|
|
|
| |
llvm-svn: 157219
|
|
|
|
| |
llvm-svn: 156959
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't copy the visibility attribute during instantiations. We have to be able
to distinguish
struct HIDDEN foo {};
template<class T>
DEFAULT void bar() {}
template DEFAULT void bar<foo>();
from
struct HIDDEN foo {};
template<class T>
DEFAULT void bar() {}
template void bar<foo>();
* If an instantiation has an attribute, it takes precedence over an attribute
in the template.
* With instantiation attributes handled with the above logic, we can now
select the minimum visibility when looking at template arguments.
llvm-svn: 156821
|
|
|
|
|
|
|
| |
attribute, rather than requiring multiple cases in consumers of this
information.
llvm-svn: 156666
|
|
|
|
| |
llvm-svn: 156490
|
|
|
|
| |
llvm-svn: 156192
|
|
|
|
|
|
|
|
| |
TableGen-generated StringMatcher, for a 1.2% speedup in -fparse-only
time in <rdar://problem/11004361>. Thanks to Benjamin for pointing me
at StringMatcher!
llvm-svn: 156003
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
fix a typo
add punctuation
llvm-svn: 155443
|
|
|
|
| |
llvm-svn: 155140
|
|
|
|
| |
llvm-svn: 153308
|
|
|
|
|
|
| |
Patch thanks to Nikola Smiljanic
llvm-svn: 152514
|
|
|
|
|
|
| |
without reverting the changes.
llvm-svn: 152333
|
|
|
|
|
|
| |
"the script will run forever continually picking new tests to run", make it so.
llvm-svn: 152327
|
|
|
|
| |
llvm-svn: 152324
|
|
|
|
| |
llvm-svn: 152281
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
groups
is shared to avoid any "misalignment" if indices.
llvm-svn: 152074
|
|
|
|
| |
llvm-svn: 150989
|
|
|
|
|
|
|
|
| |
option table instead of storing the name.
Another 8 bytes + relocation removed from every diagnostic on x86_64.
llvm-svn: 150615
|
|
|
|
| |
llvm-svn: 150535
|
|
|
|
|
|
| |
Diagnostic*.td files but not used in sources.
llvm-svn: 150410
|
|
|
|
|
|
| |
More cleanup after r149799.
llvm-svn: 150380
|
|
|
|
| |
llvm-svn: 150231
|
|
|
|
|
|
|
|
| |
unused and wasted space for nothing.
- per PR11952.
llvm-svn: 150199
|
|
|
|
|
|
| |
Patch by Nikola Smiljanic
llvm-svn: 149896
|
|
|
|
| |
llvm-svn: 149864
|
|
|
|
| |
llvm-svn: 149682
|
|
|
|
| |
llvm-svn: 149514
|
|
|
|
|
|
| |
(Uses the functionality which has been in CmpRuns long before.)
llvm-svn: 148868
|
|
|
|
|
|
| |
diagnostic message).
llvm-svn: 148867
|
|
|
|
|
|
| |
When we build a single source file, we call clang directly (not though scan-build).
llvm-svn: 148612
|
|
|
|
| |
llvm-svn: 148595
|
|
|
|
| |
llvm-svn: 148592
|
|
|
|
|
|
| |
checker and correct the checker enabling setting.
llvm-svn: 148558
|
|
|
|
|
|
| |
appropriate or when GCC requires it)
llvm-svn: 148292
|
|
|
|
|
|
| |
This allows -Wswitch-enum to find switches that need updating when these enums are modified.
llvm-svn: 148281
|
|
|
|
| |
llvm-svn: 148095
|
|
|
|
|
|
| |
statement.
llvm-svn: 147862
|
|
|
|
| |
llvm-svn: 147737
|
|
|
|
| |
llvm-svn: 147568
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not long ago, I tightened up the type checking for pointer arguments of
Neon intrinsics to match the specifications provided by ARM. One consequence
was that it became impossible to access the unaligned versions of a few
Neon load/store operations. Since there are just a few of these intrinsics
where it makes a difference, I think it's better to relax the type checking
than to either introduce new non-standard unaligned intrinsics or to disallow
intrinsics for the unaligned operations.
llvm-svn: 146963
|
|
|
|
|
|
| |
http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
llvm-svn: 146959
|
|
|
|
| |
llvm-svn: 145002
|
|
|
|
|
|
|
|
|
|
|
| |
The code for checking Neon builtin pointer argument types was assuming that
there would only be one pointer argument. But, for vld2-4 builtins, the first
argument is a special sret pointer where the result will be stored. So,
instead of scanning all the arguments to find a pointer, have TableGen figure
out the index of the pointer argument that needs checking. That's better than
scanning all the arguments regardless. <rdar://problem/10448804>
llvm-svn: 144834
|
|
|
|
|
|
| |
so we don't want shell meta chars in there.
llvm-svn: 144645
|