- Feb 12, 2008
-
-
Ted Kremenek authored
handling Non-Lvalues of the type nonlval::SymbolVal; we were accidentally casting them to lval::SymbolVal. llvm-svn: 47029
-
Ted Kremenek authored
doesn't support VLAs. Reordered some cases in the switch statement of GRConstant::Visit() so that they are ordered alphabetically based on AST node type. llvm-svn: 47021
-
Ted Kremenek authored
llvm-svn: 47016
-
Ted Kremenek authored
Added transfer function support for CharacterLiteral. llvm-svn: 47014
-
Ted Kremenek authored
the class declarations for the other ObjC***Stmt classes. llvm-svn: 47013
-
Ted Kremenek authored
have been visited in a path. Added GRBlockCounter as an item to be enqueued to the worklist. Modified "ProcessBranch" in GRConstants to prune branches with symbolic conditions that have been already taken. llvm-svn: 47010
-
Eli Friedman authored
llvm-svn: 47005
-
Eli Friedman authored
they are of type wchar_t[]. llvm-svn: 47004
-
Eli Friedman authored
llvm-svn: 47003
-
Steve Naroff authored
Allow the parser to detect invalid DeclSpec's. This fixes http://llvm.org/bugs/show_bug.cgi?id=1987. This commit only "guards" the call to ParseDeclarationSpecifiers() in ParseDeclarationOrFunctionDefinition(). We could consider guarding all calls, however this is a bit radical (since it effectively stops parsing the declaration once we have a bad declspec). Will discuss with Chris tomorrow. llvm-svn: 46984
-
Steve Naroff authored
Fix unsafe static cast... llvm-svn: 46980
-
Steve Naroff authored
Several cleanups surrounding Parser::ParseAsmStatement() and Parser::FuzzyParseMicrosoftAsmStatement(). llvm-svn: 46977
-
Ted Kremenek authored
factories. Fixed a horrible bug in lval:DeclVar::classof(RValue* V); we weren't checking V was an LValue, allowing nonlval::ConcereteInts to match isa<lval::DeclVar>. llvm-svn: 46976
-
- Feb 11, 2008
-
-
Steve Naroff authored
Move policy on unnamed fields (a Microsoft extension) from Parser::ParseStructDeclaration() to the driver. llvm-svn: 46974
-
Steve Naroff authored
Move Microsoft __declspec hack from the parser to the preprocessor. Since we have no plans to actually implement this construct, it is cleaner to limit the change to the preprocessor. llvm-svn: 46973
-
Steve Naroff authored
Fix http://llvm.org/bugs/show_bug.cgi?id=2013. llvm-svn: 46972
-
Steve Naroff authored
After yesterday's discussion (http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-February/001044.html), decided not to change the semantics of Type::isIncompleteType(). This commit simply changes a couple comments to reflect this decision. llvm-svn: 46970
-
Ted Kremenek authored
bindings for block-level expressions. Moved pretty-printing logic (DOT) for ValueStates to ValueState.cpp. llvm-svn: 46965
-
Anders Carlsson authored
Get rid of bogus warnings when the second argument in va_start is either an implicit cast expr or a paren expr. llvm-svn: 46950
-
Steve Naroff authored
Add a comment/FIXME to an earlier change. llvm-svn: 46947
-
Steve Naroff authored
Tweak test... llvm-svn: 46946
-
Chris Lattner authored
llvm-svn: 46945
-
Eli Friedman authored
edge cases. llvm-svn: 46944
-
Eli Friedman authored
codegen. llvm-svn: 46943
-
Steve Naroff authored
Fix http://llvm.org/bugs/show_bug.cgi?id=1988. Sema::CheckInitializerListTypes() needs to ignore invalid structures. llvm-svn: 46942
-
Chris Lattner authored
is an array type not a pointer type. This requires updating some diags that change and updating the code generator to handle the proper form of strings. llvm-svn: 46941
-
Eli Friedman authored
llvm-svn: 46940
-
Eli Friedman authored
void*. llvm-svn: 46939
-
Chris Lattner authored
missing. Otherwise, it is an implicit int case, which is valid in c90 and invalid elsewhere, but accepted as an extension. llvm-svn: 46938
-
- Feb 10, 2008
-
-
Eli Friedman authored
spec-compliant. I'll put together some testcases in a bit. llvm-svn: 46937
-
Steve Naroff authored
Add a diagnostics helper to remove some redundant code. llvm-svn: 46936
-
Chris Lattner authored
llvm-svn: 46935
-
Steve Naroff authored
Refine bug fix to Expr::isLvalue (commit r46917). llvm-svn: 46919
-
Steve Naroff authored
Change Expr::isLvalue() to allow the "void" type. This fixes bz2000 submitted by Neil Booth. Neil, can you point me to the place in the C99 spec that says this is allowed? I thought Expr::isLvalue() conformed to the spec, which says "C99 6.3.2.1: an lvalue is an expression with an object type or an incomplete type other than void.". Please advise. llvm-svn: 46917
-
- Feb 09, 2008
-
-
Anders Carlsson authored
llvm-svn: 46911
-
Anders Carlsson authored
llvm-svn: 46910
-
Steve Naroff authored
Fix spelling in comment. llvm-svn: 46906
-
Steve Naroff authored
Fix <rdar://problem/5733511> clang doesn't emit error for const array. llvm-svn: 46905
-
Eli Friedman authored
initializers, and I don't want to duplicate the bitfield-handling code. (I'll send a patch for aggregate initializers to the mailing list sometime soon.) llvm-svn: 46904
-
- Feb 08, 2008
-
-
Steve Naroff authored
A bunch-o changes to fix <rdar://problem/5716046> incomplete implementation of ObjC class warning is incomplete As part of this fix, I made a low-level change to the text diagnostics machinery (to basically avoid printing duplicate source lines/carets when you have multiple diagnostics that refer to the same exact place). For now, this only happens with we don't have a source range (could be extended to support source ranges as well). llvm-svn: 46897
-