- Apr 15, 2011
-
-
Nick Lewycky authored
builds the subdirs from this directory. This makes the behaviour with make match what already happens with cmake. llvm-svn: 129561
-
Ted Kremenek authored
Improve diagnostics on GNU attributes by warning about attributes that should have no arguments or parameters. Patch by Michael Han! llvm-svn: 129560
-
Chris Lattner authored
Luis Felipe Strano Moraes! llvm-svn: 129559
-
Peter Collingbourne authored
llvm-svn: 129555
-
Peter Collingbourne authored
As an extension, generic selection support has been added for all supported languages. The syntax is the same as for C1X. llvm-svn: 129554
-
Peter Collingbourne authored
llvm-svn: 129553
-
Tanya Lattner authored
Do not expand the opencl pragma names. This is so you can also have a define named the samed as the pragma and they do not interfere (ie. cl_khr_fp64). llvm-svn: 129549
-
Douglas Gregor authored
is so broken that Sema can't form a declaration for it, don't bother trying to parse the definition later. Fixes <rdar://problem/9221993>. llvm-svn: 129547
-
Douglas Gregor authored
instantiation), be sure to add the transformed declaration into the current DeclContext. Also, remove the -Wuninitialized hack that works around this bug. Fixes <rdar://problem/9200676>. llvm-svn: 129544
-
Richard Smith authored
llvm-svn: 129541
-
- Apr 14, 2011
-
-
Richard Smith authored
Detect when the string "<::" is found in code after a cast or template name and is interpreted as "[:" because of the digraph "<:". When found, give an error with a fix-it to add whitespace between the "<" and "::". Patch by Richard Trieu! Plus a small tweak from me to deal with one of the tokens coming from a macro. llvm-svn: 129540
-
Douglas Gregor authored
statement, and expression pointers. While these shouldn't happen, it's better to be safe in libclang. llvm-svn: 129539
-
Fariborz Jahanian authored
// rdar://9208404 llvm-svn: 129536
-
Douglas Gregor authored
completion, look through block pointer and function pointer types to the result type of the block/function. Fixes <rdar://problem/9282583>. llvm-svn: 129535
-
Anton Korobeynikov authored
AAPCS+VFP), similar to fastcall / stdcall / whatevercall seen on x86. In particular, all library functions should always be AAPCS regardless of floating point ABI used. llvm-svn: 129534
-
Richard Smith authored
Name mangling of late-specified return types doesn't work if the return type references the argument types: template<typename T> auto f(T a) -> decltype(a.foo()); Since this is the primary reason for the introduction of this feature, downgrade implementation status to "Some examples work". llvm-svn: 129533
-
Richard Smith authored
llvm-svn: 129525
-
Douglas Gregor authored
diagnosing it as an error rather than looping infinitely. Also, explicitly disallow @defs in Objective-C++. Fixes <rdar://problem/9260136>. llvm-svn: 129521
-
Sebastian Redl authored
Chained PCH: Remember when additional specializations are added to a function template from a previous PCH. Fixes the only crasher when using massive chains on Clang's Sema component. We still have some incomplete codegen there. llvm-svn: 129516
-
Sebastian Redl authored
llvm-svn: 129515
-
Sebastian Redl authored
llvm-svn: 129514
-
Sebastian Redl authored
The ASTReader created by -chain-include used the generated PCH buffers in the wrong order. The effect was that all but the first chain-include files was ignored for subsequent compilations. llvm-svn: 129513
-
Ted Kremenek authored
llvm-svn: 129499
-
Ken Dyck authored
functionality intended. llvm-svn: 129496
-
Eli Friedman authored
DiagnosticBuilder::AddFixItHint: they will be dropped along with any other (possibly valid) fixits later. llvm-svn: 129495
-
Argyrios Kyrtzidis authored
named by the nested-name-specifier is same or base of the class in which the member expression appears. It seems we also had an ill-formed test case, mon dieu! Fixes rdar://8576107. llvm-svn: 129493
-
Ken Dyck authored
in functionality intended. llvm-svn: 129491
-
Anders Carlsson authored
is 1 element smaller than the string, because we can just strip off the last null character. This matches GCC. llvm-svn: 129490
-
Anders Carlsson authored
llvm-svn: 129488
-
Anders Carlsson authored
llvm-svn: 129486
-
Chandler Carruth authored
built clang binary that is used by the test. Build systems that use symlinks for build outputs will fail these assertions otherwise. llvm-svn: 129482
-
Fariborz Jahanian authored
// rdar://9091893 llvm-svn: 129481
-
- Apr 13, 2011
-
-
Ted Kremenek authored
llvm-svn: 129475
-
Ted Kremenek authored
llvm-svn: 129473
-
Fariborz Jahanian authored
defined in a macro. // rdar://9091893 llvm-svn: 129465
-
Bill Wendling authored
Removing the unaligned load tests from builtins-x86.c since they're generated by a regular 'load' now. llvm-svn: 129464
-
Axel Naumann authored
From Vassil Vassilev: Give external source's last resort lookup a chance, even if an identifier could resolve to a builtin. llvm-svn: 129438
-
Bill Wendling authored
llvm-svn: 129434
-
Bill Wendling authored
llvm-svn: 129433
-
Chandler Carruth authored
evaluated and unevaluated contexts. Add some testing of sizeof and typeid. Both of the typeid tests added here were triggering warnings previously. Now the one false positive is suppressed without suppressing the warning on actually buggy code. llvm-svn: 129431
-