- Nov 18, 2010
-
-
John McCall authored
out because there are still bugs left. llvm-svn: 119722
-
Argyrios Kyrtzidis authored
llvm-svn: 119719
-
Benjamin Kramer authored
llvm-svn: 119698
-
Craig Silverstein authored
http://llvm.org/bugs/show_bug.cgi?id=8558). This patch fixes it. Thanks to rjmccall for all the coaching! Approved by rjmccall llvm-svn: 119697
-
John McCall authored
store it on the expression node. Also store an "object kind", which distinguishes ordinary "addressed" l-values (like variable references and pointer dereferences) and bitfield, @property, and vector-component l-values. Currently we're not using these for much, but I aim to switch pretty much everything calculating l-valueness over to them. For now they shouldn't necessarily be trusted. llvm-svn: 119685
-
Marcin Swiderski authored
Added method for handling CXXOperatorCallExpr differently from CallExpr if CXXOperatorCallExpr represents method call. Also fixed returning ExpolodedNodeSet from VisitCXXMethodCallExpr. llvm-svn: 119684
-
Anton Yartsev authored
llvm-svn: 119678
-
Argyrios Kyrtzidis authored
-Improve the diagnostic message -Add some comments Suggestions by Chris. llvm-svn: 119594
-
Argyrios Kyrtzidis authored
Introduce option -Wargument-larger-than[=N] which warns about function definitions if they take by-value or return by-value any POD that is larger than some threshold (default is 64 bytes). Implements rdar://8548050. llvm-svn: 119583
-
- Nov 17, 2010
-
-
Rafael Espindola authored
llvm-svn: 119577
-
Rafael Espindola authored
clang -w -c foo.s Helps with the gdb testsuite. llvm-svn: 119574
-
Douglas Gregor authored
Objective-C message sends, which have only whitespace in their TypedText chunk. Such results have no purpose. llvm-svn: 119569
-
Marcin Swiderski authored
In EvalArguments allow for evaluation of first argument always as a lvalue. Will be used for CXXOperatorCallExpr that represents method call. llvm-svn: 119567
-
Rafael Espindola authored
results in the gdb testsuite. llvm-svn: 119552
-
Fariborz Jahanian authored
nonofragile-abi2. Fixes //rdar://8673791 llvm-svn: 119543
-
Argyrios Kyrtzidis authored
llvm-svn: 119540
-
-
Argyrios Kyrtzidis authored
assert(a || b && "bad"); since this is safe. This way we avoid a big source of such warnings which in this case are practically useless. Note that we don't handle *all* cases where precedence wouldn't matter because of constants since this is a bit costly to check, and IMO clarifying precedence with parentheses is good for readability in general. llvm-svn: 119533
-
Dan Gohman authored
on a non-type declaration, as GCC permits it on variables too. This fixes PR8635. llvm-svn: 119517
-
Rafael Espindola authored
Fixes PR8607. llvm-svn: 119498
-
Zhongxing Xu authored
llvm-svn: 119491
-
Chris Lattner authored
of all the lines of the inline asm. With the refactoring and enhancement of the backend, we can now reports errors on the correct source line when an asm contains multiple lines of text. For something like this: void foo() { asm("push %rax\n" ".code32\n"); } we used to get this: (note that the line 4 in t.c isn't helpful) t.c:4:7: error: warning: ignoring directive for now asm("push %rax\n" ^ <inline asm>:2:1: note: instantiated into assembly here .code32 ^ now we get: t.c:5:8: error: warning: ignoring directive for now ".code32\n" ^ <inline asm>:2:1: note: instantiated into assembly here .code32 ^ Note that we're pointing to line 5 properly now. This implements rdar://7839391 - inline asm errors should point to the right line in the asm and makes the error message in PR8595 much less confusing. llvm-svn: 119489
-
Chris Lattner authored
llvm-svn: 119487
-
Chris Lattner authored
no longer depends on Preprocessor, so we can move it out of Sema into a nice new StringLiteral::getLocationOfByte method that can be used by any AST client. llvm-svn: 119481
-
Zhongxing Xu authored
llvm-svn: 119480
-
Chris Lattner authored
llvm-svn: 119479
-
Zhongxing Xu authored
llvm-svn: 119477
-
Chris Lattner authored
possible to create one without a preprocessor. llvm-svn: 119476
-
Chris Lattner authored
llvm-svn: 119475
-
Chris Lattner authored
Preprocessor to Lexer where they make more sense. llvm-svn: 119474
-
Chris Lattner authored
llvm-svn: 119472
-
Chris Lattner authored
llvm-svn: 119471
-
Chris Lattner authored
llvm-svn: 119470
-
Chris Lattner authored
llvm-svn: 119469
-
Chris Lattner authored
pushing the dependency on the preprocessor out a bit. llvm-svn: 119468
-
Marcin Swiderski authored
llvm-svn: 119467
-
Chris Lattner authored
llvm-svn: 119464
-
Douglas Gregor authored
@synthesize foo = _foo; keep track of the location of the ivar ("_foo"). Teach libclang to visit the ivar as a member reference. llvm-svn: 119447
-
Ted Kremenek authored
llvm-svn: 119436
-
Rafael Espindola authored
llvm-svn: 119425
-