- Nov 10, 2009
-
-
Ted Kremenek authored
Make -Wsemicolon-before-method-body opt-in (and part of -Wextra). Addresses <rdar://problem/7381735>. llvm-svn: 86731
-
Fariborz Jahanian authored
global array of objects. llvm-svn: 86701
-
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
-
John McCall authored
llvm-svn: 86674
-
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
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
-
Zhongxing Xu authored
llvm-svn: 86657
-
Zhongxing Xu authored
region, so that arithmetic within a memory chunk is allowed. llvm-svn: 86652
-
- Nov 09, 2009
-
-
Mike Stump authored
llvm-svn: 86607
-
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
when looking for a name within a given DeclContext. Now enumerators will show up in code-completion results. llvm-svn: 86591
-
Fariborz Jahanian authored
its element type. Fixes pr5432. llvm-svn: 86587
-
Douglas Gregor authored
overloaded operator(). llvm-svn: 86581
-
Eli Friedman authored
declaration invalid if the constructor can't be properly built. Addresses remaining review comments from Fariborz for r86500. llvm-svn: 86579
-
Douglas Gregor authored
templates. The instantiation of these default arguments must be (and now, is) delayed until the template argument is actually used, at which point we substitute all levels of template arguments concurrently. llvm-svn: 86578
-
Eli Friedman authored
llvm-svn: 86574
-
Fariborz Jahanian authored
llvm-svn: 86573
-
Eli Friedman authored
unless we start implementing command-line switches which override the default calling convention, so the effect is mostly to silence unknown attribute warnings.) llvm-svn: 86571
-
Douglas Gregor authored
Slightly more testing for instantiation of non-type template parameters in nested templates, for my own sanity's sake llvm-svn: 86570
-
Anders Carlsson authored
llvm-svn: 86563
-
Anders Carlsson authored
llvm-svn: 86561
-
Douglas Gregor authored
llvm-svn: 86552
-
Douglas Gregor authored
llvm-svn: 86551
-
Douglas Gregor authored
- Provide an actual test for code-completion via CIndex. - Actually print optional strings in c-index-test - Export clang_getCompletionChunkCompletionString from CIndex llvm-svn: 86550
-
Zhongxing Xu authored
llvm-svn: 86541
-
Zhongxing Xu authored
llvm-svn: 86538
-
Zhongxing Xu authored
llvm-svn: 86537
-
Zhongxing Xu authored
llvm-svn: 86529
-
Zhongxing Xu authored
llvm-svn: 86523
-
Zhongxing Xu authored
checker does not build sink nodes. Because svaluator computes an unknown value for the subtraction now. llvm-svn: 86517
-
Eli Friedman authored
reasonably safe, but it doesn't seem like the right solution. llvm-svn: 86508
-
Zhongxing Xu authored
llvm-svn: 86504
-
Eli Friedman authored
and implicitly defined constructors. This has a number of benefits: 1. Less code. 2. Explicit and implicit constructors get the same diagnostics. 3. The AST explicitly contains constructor calls from implicit default constructors. This allows handing some cases that previously weren't handled correctly in IRGen without any additional code. Specifically, implicit default constructors containing calls to constructors with default arguments are now handled correctly. llvm-svn: 86500
-
- Nov 08, 2009
-
-
Sebastian Redl authored
Special-case default argument expression in instantiation. This should fix PR4301. Doug, please double-check my assumptions. Read the PR for more details. llvm-svn: 86465
-
Sebastian Redl authored
When checking the namespace of a redeclaration or definition, look through linkage specs. Fixes PR5430. llvm-svn: 86461
-
Sebastian Redl authored
llvm-svn: 86460
-
Daniel Dunbar authored
llvm-svn: 86456
-
Daniel Dunbar authored
llvm-svn: 86433
-
Daniel Dunbar authored
llvm-svn: 86432
-