- Jan 12, 2008
-
-
Chris Lattner authored
verify that the source range corresponds to the current file, not just the current line. This allows us to emit: a.c:1:44: error: invalid operands to binary expression ('double' and 'int *') double a; int *b; void f(void) { int c = a + ~ ^ instead of: a.c:1:44: error: invalid operands to binary expression ('double' and 'int *') double a; int *b; void f(void) { int c = a + ~ ~ ^ for PR1906 (note the leading ~). Thanks to Neil for noticing this. llvm-svn: 45901
-
- Jan 11, 2008
-
-
Ted Kremenek authored
Do not use std::cerr; use llvm::cerr instead. Patch provided by Sam Bishop! llvm-svn: 45880
-
Ted Kremenek authored
of ProgramPoint. llvm-svn: 45866
-
Ted Kremenek authored
llvm-svn: 45847
-
Ted Kremenek authored
to have a much simpler, cleaner interpretation of what is a "location" in a function (as encoded by a CFG). llvm-svn: 45846
-
Ted Kremenek authored
llvm-svn: 45845
-
Fariborz Jahanian authored
llvm-svn: 45842
-
- Jan 10, 2008
-
-
Steve Naroff authored
- Teach Expr::isConstantExpr() about InitListExpr's (and offsetof, since I noticed it was missing). - Rename CheckInitializer() to CheckInitializerTypes(). - Removed the isStatic argument to CheckInitializerTypes() and all of it's subroutines. Checking for constant expressions is now done separately. - Added CheckForConstantInitializer(). llvm-svn: 45840
-
Fariborz Jahanian authored
llvm-svn: 45839
-
Fariborz Jahanian authored
llvm-svn: 45836
-
Ted Kremenek authored
llvm-svn: 45835
-
Fariborz Jahanian authored
llvm-svn: 45834
-
Ted Kremenek authored
llvm-svn: 45820
-
Chris Lattner authored
llvm-svn: 45810
-
Seo Sanghyeon authored
llvm-svn: 45809
-
Chris Lattner authored
llvm-svn: 45808
-
Chris Lattner authored
removing them, fitting the file into 80 columns. :) llvm-svn: 45807
-
Fariborz Jahanian authored
Put return type of synthesize method on same line as method declaration, space after method declaration header. llvm-svn: 45806
-
Ted Kremenek authored
llvm-svn: 45802
-
Fariborz Jahanian authored
llvm-svn: 45794
-
Fariborz Jahanian authored
llvm-svn: 45793
-
Steve Naroff authored
Add a FIXME to commit r45784. Thanks mrs! llvm-svn: 45790
-
Steve Naroff authored
Fix Sema::ActOnDeclarator() to call MergeFunctionDecl for function decls that aren't in scope. Since C functions are in a flat namespace, we need to give them special treatment (when compared with variables and typedefs). llvm-svn: 45789
-
Ted Kremenek authored
so that nodes can be marked as representing an infeasible program point. This flag lets the path-sensitive solver know that no successors should be generated for such nodes. llvm-svn: 45788
-
- Jan 09, 2008
-
-
Ted Kremenek authored
BExpr*** and ***BExpr respectively. These edges represent program locations between the entrance/exit of a block and Block-level Expressions. Also added ***SExpr and SExpr*** ProgramEdges to represent the locations in the program between the evaluation of subexpressions and block-level expressions. llvm-svn: 45786
-
Ted Kremenek authored
code restructuring. (new files will be introduced shortly) llvm-svn: 45785
-
Steve Naroff authored
Fix ASTContext::typesAreCompatible to allow for int/enum compatibility (C99 6.7.2.2p4). Fix Sema::MergeFunctionDecl to allow for function type compatibility (by using the predicate on ASTContext). Function types don't have to be identical to be compatible... llvm-svn: 45784
-
Steve Naroff authored
Teach Sema::ActOnCompoundLiteral about constraint C99 6.5.2.5p3. llvm-svn: 45782
-
Chris Lattner authored
truncating. This allows us to compile: void foo() { static _Bool foo = 4; } into: @foo1 = internal global i8 1 instead of: @foo1 = internal global i8 4 llvm-svn: 45779
-
Chris Lattner authored
This fixes a crash reported by Seo Sanghyeon llvm-svn: 45778
-
Fariborz Jahanian authored
llvm-svn: 45777
-
Fariborz Jahanian authored
llvm-svn: 45776
-
Fariborz Jahanian authored
llvm-svn: 45771
-
Fariborz Jahanian authored
llvm-svn: 45769
-
Fariborz Jahanian authored
llvm-svn: 45767
-
Steve Naroff authored
Teach Expr::isConstantExpr() about CompoundLiterals. llvm-svn: 45764
-
Chris Lattner authored
llvm-svn: 45763
-
- Jan 08, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 45760
-
Ted Kremenek authored
llvm-svn: 45750
-
Ted Kremenek authored
llvm-svn: 45749
-