- Oct 04, 2008
-
-
Zhongxing Xu authored
llvm-svn: 57041
-
Chris Lattner authored
that includes any edits in the range. llvm-svn: 57037
-
- Oct 03, 2008
-
-
Daniel Dunbar authored
llvm-svn: 57019
-
Daniel Dunbar authored
llvm-svn: 57015
-
Daniel Dunbar authored
llvm-svn: 56993
-
Daniel Dunbar authored
llvm-svn: 56992
-
Steve Naroff authored
This is a temporary solution to help with the block rewriter (though it certainly has general utility). Once DeclGroup's are implemented, this SourceLocation should be stored with it (since it applies to all the decls). llvm-svn: 56985
-
Daniel Dunbar authored
- Enabled for builtins which are always constant expressions (__builtin_huge_val*, __builtin_inf*, __builtin_constant_p, __builtin_classify_type, __builtin___CFStringMakeConstantString). Added Builtin::Context::isConstantExpr. - Currently overly simply interface which only works for builtins whose constantexprness does not depend on their arguments. CallExpr::isBuiltinConstantExpr now takes an ASTContext argument. llvm-svn: 56983
-
- Oct 02, 2008
-
-
Daniel Dunbar authored
versions of sprintf and friends. - Added FIXME that this mechanism should be generalized. llvm-svn: 56962
-
Daniel Dunbar authored
handling blocks. - This has false positives, but at least prevents miscompiles. llvm-svn: 56958
-
Steve Naroff authored
This commit also includes some name changes in the blocks rewriter (no functionality change). llvm-svn: 56955
-
Daniel Dunbar authored
llvm-svn: 56954
-
Ted Kremenek authored
Expand checking to include functions, not just methods. llvm-svn: 56938
-
- Oct 01, 2008
-
-
Ted Kremenek authored
llvm-svn: 56912
-
Daniel Dunbar authored
llvm-svn: 56902
-
Daniel Dunbar authored
collisions. - Provide CodeGenModule::CreateRuntimeFunction which guarantees that the function it creates will have the provided name in the final module. This allows the runtime to have its functions protected from declarations of the same name in the source code. - One could argue that this is a reason to abuse the llvm::Module namespace for dealing with function redeclarations. However, that approach seems conceptually flawed to me. This one also happens to be somewhat more efficient. No functionality change. llvm-svn: 56899
-
Ted Kremenek authored
Use this updated interface when invalidating arguments passed by reference; the type of symbol is of the object passed by reference, not the reference itself. llvm-svn: 56894
-
- Sep 30, 2008
-
-
Chris Lattner authored
llvm-svn: 56880
-
Chris Lattner authored
llvm-svn: 56879
-
Chris Lattner authored
llvm-svn: 56876
-
Chris Lattner authored
like "10.3.9" llvm-svn: 56873
-
Daniel Dunbar authored
llvm-svn: 56859
-
rdar://problem/6191148Steve Naroff authored
Fix <rdar://problem/6191148> [sema] Objective-C method lookup (at global scope) fails to handle overloaded selectors properly. Long standing bug in Sema::ActOnInstanceMessage(). We now warn when messaging an "id" with multiple method signatures in scope. The diags are a little verbose, however they can be streamlined if necessary. llvm-svn: 56843
-
rdar://problem/6247781Steve Naroff authored
Needed to make sure the relaxed type checking only applies to "readonly" properties. llvm-svn: 56838
-
Nick Lewycky authored
llvm-svn: 56836
-
Ted Kremenek authored
llvm-svn: 56832
-
Ted Kremenek authored
from the subexpression type to the expression type. llvm-svn: 56831
-
Mon P Wang authored
llvm-svn: 56830
-
Daniel Dunbar authored
- Provides a basic primitive to jump to an arbitrary basic block, through the finally code. - Only used for return statements and rethrow currently. Still need to handle break, continue and goto. - Code still needs to be shuffled around to live elsewhere. llvm-svn: 56827
-
Chris Lattner authored
the target triple on darwin. For example i386-apple-darwin9 -> 1050 because darwin9 is "10.5". llvm-svn: 56826
-
Chris Lattner authored
llvm-svn: 56824
-
Chris Lattner authored
llvm-svn: 56822
-
-
Chris Lattner authored
NumericLiteral parser is not careful about overrun because it should never be possible. It implicitly expects that its input matched the regex for pp-constant. Because of this, it knows it can't be pointing to a prefix of something that looks like a number. This is all fine, except that __LINE__ does not prevent implicit concatenation from happening. Fix __LINE__ to not do this. llvm-svn: 56818
-
Chris Lattner authored
fixes problems handling references of va_list, which happens on x86_64. This fixes PR2841 and rdar://6252231 llvm-svn: 56809
-
- Sep 29, 2008
-
-
Chris Lattner authored
and add a dump method to FullSourceLoc! Patch by Nico Weber! llvm-svn: 56806
-
Steve Naroff authored
llvm-svn: 56800
-
Steve Naroff authored
Teach Sema::CheckAssignmentConstraints() to allow assignments between id and block pointer types (^{}). llvm-svn: 56793
-
-
-