- Nov 10, 2009
-
-
Daniel Dunbar authored
llvm-svn: 86685
-
John McCall authored
although in this case we probably just run a risk of duplicating work; I can't think of how this could cause a bug. llvm-svn: 86680
-
John McCall authored
using directives, and fix a bug thereby exposed: since we're playing tricks with pointers, we need to make certain we're always using the same pointers for things. Also tweak an existing error message. llvm-svn: 86679
-
Zhongxing Xu authored
llvm-svn: 86677
-
John McCall authored
llvm-svn: 86674
-
Zhongxing Xu authored
This is reasonable because people know what they are doing when they intentionally dereference the pointer. So now we only emit warning when a pointer variable is use literally. llvm-svn: 86673
-
Mike Stump authored
being generated. Add the most derived vtable pointer to the VTT. llvm-svn: 86671
-
John McCall authored
This is a pretty minimal test case; I'll make a better one later. llvm-svn: 86669
-
Anders Carlsson authored
When trying to assign a regular string literal to an Objective-C 'id' type or a pointer to an NSString, emit a code insertion hint that turns it into an Objective-C string. For example: @class NSString; @interface Test + (void)test:(NSString *)string; @end void g(NSString *a); void f() { NSString *a = "Foo"; g("Foo"); [Test test:"Foo"]; } will produce t.m:10:17: warning: incompatible pointer types initializing 'char [4]', expected 'NSString *' NSString *a = "Foo"; ^~~~~ @ t.m:11:5: warning: incompatible pointer types passing 'char [4]', expected 'NSString *' g("Foo"); ^~~~~ @ t.m:12:14: warning: incompatible pointer types sending 'char [4]', expected 'NSString *' [Test test:"Foo"]; ^~~~~ @ 3 diagnostics generated. llvm-svn: 86665
-
Anders Carlsson authored
llvm-svn: 86664
-
Zhongxing Xu authored
llvm-svn: 86663
-
Zhongxing Xu authored
llvm-svn: 86662
-
Anders Carlsson authored
llvm-svn: 86661
-
Zhongxing Xu authored
the argument is not an expression. llvm-svn: 86660
-
Anders Carlsson authored
If a function with a default argument is redefined and the new function also has a defualt argument then add a fixit hint that removes the default argument. Fixes PR5444. llvm-svn: 86659
-
Anders Carlsson authored
llvm-svn: 86658
-
Zhongxing Xu authored
llvm-svn: 86657
-
Zhongxing Xu authored
region, so that arithmetic within a memory chunk is allowed. llvm-svn: 86652
-
Mike Stump authored
Start implementing VTTs. WIP. llvm-svn: 86650
-
Zhongxing Xu authored
getBaseRegion will be used in another method. llvm-svn: 86649
-
Mike Stump authored
llvm-svn: 86647
-
Mike Stump authored
llvm-svn: 86643
-
Jeffrey Yasskin authored
Patch by Victor Zverovich! llvm-svn: 86638
-
Daniel Dunbar authored
llvm-svn: 86633
-
Daniel Dunbar authored
llvm-svn: 86632
-
Daniel Dunbar authored
continuing after invalid PCH loads. llvm-svn: 86631
-
Douglas Gregor authored
llvm-svn: 86629
-
Daniel Dunbar authored
llvm-svn: 86623
-
Daniel Dunbar authored
ApplyHeaderSearchOptions now. llvm-svn: 86617
-
- Nov 09, 2009
-
-
Daniel Dunbar authored
CompilerInvocation. llvm-svn: 86612
-
Daniel Dunbar authored
llvm-svn: 86611
-
Daniel Dunbar authored
llvm-svn: 86610
-
Daniel Dunbar authored
Change clang-cc to expect that all inputs have the same language (so we can only construct a single LangInfo). This matches how it is used in practice (since the compiler only it invokes it for one file at a time). llvm-svn: 86609
-
Daniel Dunbar authored
llvm-svn: 86608
-
Mike Stump authored
llvm-svn: 86607
-
Fariborz Jahanian authored
llvm-svn: 86599
-
Fariborz Jahanian authored
llvm-svn: 86598
-
Fariborz Jahanian authored
warning, to match gcc. It used to be warning, so better keep it a warning (it broke a certain project). llvm-svn: 86597
-
Douglas Gregor authored
ArrayType>()) does not instantiate. Update all callers that used this unsafe feature to use the appropriate ASTContext::getAs*ArrayType method. llvm-svn: 86596
-
Ted Kremenek authored
llvm-svn: 86595
-