| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
the patch.
llvm-svn: 117159
|
|
|
|
| |
llvm-svn: 117149
|
|
|
|
|
|
|
|
| |
more closely parallel the computation of linkage. This gets us to a state
much closer to what gcc emits, modulo bugs, which will undoubtedly arise in
abundance.
llvm-svn: 117147
|
|
|
|
|
|
| |
statement expressions, //rdar: //8540501
llvm-svn: 117146
|
|
|
|
|
|
| |
member expression's base is call expr.
llvm-svn: 117127
|
|
|
|
| |
llvm-svn: 117120
|
|
|
|
|
|
| |
See PR 8473.
llvm-svn: 117110
|
|
|
|
|
|
|
|
| |
name, otherwise it confuses debugger.
This is tested by local.C in llvmgcc testsuite.
llvm-svn: 117107
|
|
|
|
| |
llvm-svn: 117106
|
|
|
|
| |
llvm-svn: 117104
|
|
|
|
|
|
|
| |
the current context's redeclaration context, ignoring using
directives. Fixes PR8430.
llvm-svn: 117097
|
|
|
|
|
|
| |
protocol-qualified types such as id<Protocol>.
llvm-svn: 117081
|
|
|
|
| |
llvm-svn: 117046
|
|
|
|
|
|
|
|
|
|
| |
where the redelcaration and original
declaration have the 'readwrite' attribute. This is a common case, and we can issue a more lucid diagnostic.
Fixes <rdar://problem/7629420>.
llvm-svn: 117045
|
|
|
|
| |
llvm-svn: 117044
|
|
|
|
| |
llvm-svn: 117043
|
|
|
|
|
|
|
| |
char32_t character types and enable built-in overloaded operator
candidates for these types. Fixes PR8432.
llvm-svn: 117038
|
|
|
|
|
|
|
|
| |
themselves have no template parameters. This is actually a restriction
due to the grammar of template template parameters, but we choose to
diagnose it in Sema to provide better recovery.
llvm-svn: 117032
|
|
|
|
|
|
|
|
|
| |
redeclarations of main appropriately rather than allowing it to be
overloaded. Also, disallowing declaring main as a template.
Fixes GCC DejaGNU g++.old-deja/g++.other/main1.C.
llvm-svn: 117029
|
|
|
|
|
|
|
| |
variable, handle conditional operators involving a
throw-expression. Fixes GCC DejaGNU's g++.dg/template/cond4.C.
llvm-svn: 117027
|
|
|
|
| |
llvm-svn: 117026
|
|
|
|
|
|
|
|
|
| |
that it is
nil. Otherwise we can get false paths where a second @synchronized using the mutex
can have a bogus warning. Fixes <rdar://problem/8578650>.
llvm-svn: 117016
|
|
|
|
| |
llvm-svn: 117005
|
|
|
|
| |
llvm-svn: 117003
|
|
|
|
|
|
|
|
|
|
| |
This adds an option to set the _MSC_VER macro without
recompiling. This is very useful when testing compatibility
with the Windows SDK and c++stdlib headers.
-fmsc-version=<version> (defaults to VS2003 (1300))
llvm-svn: 116999
|
|
|
|
|
|
|
|
|
|
| |
it was really a 'char'
or a 'short'. This fixes that and allows the hints to suggest 'h' modifiers for small ints.
Patch by Justin Bogner!
llvm-svn: 116996
|
|
|
|
| |
llvm-svn: 116995
|
|
|
|
| |
llvm-svn: 116990
|
|
|
|
|
|
| |
Didn't realize this was on my branch ;/.
llvm-svn: 116989
|
|
|
|
| |
llvm-svn: 116988
|
|
|
|
|
|
|
|
| |
function decls.
Reviewed by rjmccall and nlewycky.
llvm-svn: 116979
|
|
|
|
|
|
|
|
| |
that a chained PCH writes the definition again.
Thanks to Doug for the hint!
llvm-svn: 116975
|
|
|
|
|
|
|
|
| |
have the same location
if it's a template specialization pointing at the template.
llvm-svn: 116974
|
|
|
|
|
|
| |
subsumed by the Checker interface.
llvm-svn: 116973
|
|
|
|
| |
llvm-svn: 116971
|
|
|
|
|
|
|
|
|
| |
inclusion directives, keeping track of every #include, #import,
etc. in the translation unit. We keep track of the source location and
kind of the inclusion, how the file name was spelled, and the
underlying file to which the inclusion resolved.
llvm-svn: 116952
|
|
|
|
|
|
| |
UPDATE_VISIBLE block were recorded beforehand.
llvm-svn: 116931
|
|
|
|
| |
llvm-svn: 116930
|
|
|
|
|
|
| |
to 'super'.
llvm-svn: 116928
|
|
|
|
|
|
|
|
|
| |
As far as I can see, gcc is right to think this! The following change
will cause a nice segfault rather than undefined behaviour if this case
occurs. Someone who understands what this code is supposed to do should
probably take a proper look.
llvm-svn: 116917
|
|
|
|
|
|
| |
say 'implicitly' when it was implicit. Resolves PR 7930 and my peace of mind.
llvm-svn: 116916
|
|
|
|
|
|
| |
interactions with -isysroot and other driver commands.
llvm-svn: 116912
|
|
|
|
|
|
|
| |
on a friend declaration, skip template-ids which do not depend on the
current parameter list.
llvm-svn: 116911
|
|
|
|
|
|
|
| |
kinds of lookup into Objective-C classes were tangled together, a
situation that was compounded by automatically synthesized ivars.
llvm-svn: 116907
|
|
|
|
|
|
| |
__has_builtin.
llvm-svn: 116906
|
|
|
|
|
|
|
|
|
|
|
| |
don't repeatedly loop through identifiers, correcting the same typo'd
identifier over and over again.
We still bail out after 20 typo corrections, but this should help
improve performance in the common case where we're typo-correcting
because the user forgot to include a header.
llvm-svn: 116901
|
|
|
|
|
|
| |
which seems to be working properly.
llvm-svn: 116894
|
|
|
|
| |
llvm-svn: 116893
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Here's example code:
---
template<class T> class MyClass {
struct S { };
S* NewS() { return new S; }
void DeleteS() { delete NewS(); }
};
---
CXXDeleteExpr::getDestroyedType() on the 'delete NewS()' expression
would crash before this change. Now it returns a dependent type
object. Solution suggested by dgregor.
llvm-svn: 116891
|
|
|
|
|
|
| |
definition in the chained PCH.
llvm-svn: 116887
|