- Jan 13, 2009
-
-
Zhongxing Xu authored
- put the killed region in the kill set. - set its default value to unknown. - removes all bindings for its subregions. llvm-svn: 62138
-
Fariborz Jahanian authored
llvm-svn: 62135
-
Ted Kremenek authored
llvm-svn: 62130
-
Ted Kremenek authored
Invert condition on branch (was causing RegionStore::ArrayToPointer to return 'unknown' on most cases. llvm-svn: 62129
-
Douglas Gregor authored
assignment operator candidate (C++ [over.match.oper]p4). llvm-svn: 62128
-
Douglas Gregor authored
type. It leads to very weird errors. llvm-svn: 62124
-
Fariborz Jahanian authored
to access a field of its type. llvm-svn: 62123
-
Douglas Gregor authored
llvm-svn: 62122
-
Ted Kremenek authored
Extend string-literal checking for printf() format string to handle conditional ternary operators where both sides are literals. This fixes PR 3319: http://llvm.org/bugs/show_bug.cgi?id=3319 llvm-svn: 62117
-
- Jan 12, 2009
-
-
Ted Kremenek authored
Fix crasher due to use-after-release: DeclContext now owns all ObjCMethodDecls, and shouldn't be released elsewhere. llvm-svn: 62113
-
Douglas Gregor authored
C++ handle anonymous structs/unions in the same way. Addresses several bugs: <rdar://problem/6259534> <rdar://problem/6481130> <rdar://problem/6483159> The test case in PR clang/1750 now passes with -fsyntax-only, but CodeGen for inline assembler still fails. llvm-svn: 62112
-
Ted Kremenek authored
- Refactor a bunch of logic in the retain/release checker, making it more condense and easier to read. - Add support for "Create" methods in the DiskArbitration framework retain/release tests: - Rename CFDate.m to retain-release.m, and move test from CFString.c to retain-release.m - Add DiskArbitration framework tests cases. - Add/refine and few more retain/release GC test cases. llvm-svn: 62106
-
Daniel Dunbar authored
llvm-svn: 62101
-
Fariborz Jahanian authored
assigned to when it has user declared setter method defined in the class implementation (but no declaration in the class itself). llvm-svn: 62098
-
Douglas Gregor authored
or enum to be outside that struct, union, or enum. Fixes several regressions: <rdar://problem/6487662> <rdar://problem/6487669> <rdar://problem/6487684> <rdar://problem/6487702> PR clang/3305 PR clang/3312 There is still some work to do in Objective-C++, but this requires that each of the Objective-C entities (interfaces, implementations, etc.) to be introduced into the context stack with PushDeclContext/PopDeclContext. This will be a separate fix, later. llvm-svn: 62091
-
Anders Carlsson authored
llvm-svn: 62069
-
Anders Carlsson authored
llvm-svn: 62068
-
Chris Lattner authored
llvm-svn: 62064
-
Chris Lattner authored
llvm-svn: 62063
-
Chris Lattner authored
llvm-svn: 62061
-
Nuno Lopes authored
make ScalarExprEmitter::EmitCompare() emit the expression with the correct type instead of always zext it to an int this fixes codegen of simple exprs in C++ like 'if (x != 0)' llvm-svn: 62060
-
- Jan 11, 2009
-
-
Anders Carlsson authored
llvm-svn: 62049
-
Anders Carlsson authored
llvm-svn: 62043
-
Anders Carlsson authored
llvm-svn: 62042
-
Anders Carlsson authored
llvm-svn: 62041
-
Sebastian Redl authored
llvm-svn: 62038
-
Steve Naroff authored
This completes the ObjCContainerDecl AST cleanup (for now). llvm-svn: 62037
-
Steve Naroff authored
llvm-svn: 62034
-
Sebastian Redl authored
No performance regression in my basic test. Also fixed a type error in ActOnFinishSwitchStmt's arguments (body is a stmt). llvm-svn: 62032
-
- Jan 10, 2009
-
-
Steve Naroff authored
llvm-svn: 62031
-
Fariborz Jahanian authored
not merging protocol properties into the classes which use those protocols. With this patch, all my exceutable test pass again. llvm-svn: 62030
-
Fariborz Jahanian authored
prohibition of 'readonly' properties in an assignment. llvm-svn: 62028
-
-
Fariborz Jahanian authored
coming from a protocol. llvm-svn: 62017
-
Douglas Gregor authored
llvm-svn: 62016
-
- Jan 09, 2009
-
-
Douglas Gregor authored
that is neither a definition nor a forward declaration and where X has not yet been declared as a tag, introduce a declaration into the appropriate scope (which is likely *not* to be the current scope). The rules for the placement of the declaration differ slightly in C and C++, so we implement both and test the various corner cases. This implementation isn't 100% correct due to some lingering issues with the function prototype scope (for a function parameter list) not being the same scope as the scope of the function definition. Testcase is FIXME'd; this probably isn't an important issue. Addresses <rdar://problem/6484805>. llvm-svn: 62014
-
Sebastian Redl authored
llvm-svn: 62012
-
Ted Kremenek authored
Dead stores checker: Don't flag dead stores for self-assignments (common escape hatch for 'unused variable' warnings). llvm-svn: 62010
-
Ted Kremenek authored
- Refactor caching logic into a helper class PTHSpellingSearch - Allow "random accesses" in the spelling cache, thus catching the remaining cases where 'getSpelling' wasn't hitting the PTH cache For -Eonly, PTH, Cocoa.h: - This reduces wall time by 3% (user time unchanged, sys time reduced) - This reduces the amount of paged source by 1112K. The remaining 1112K still being paged in is from somewhere else (investigating). llvm-svn: 62009
-
Sebastian Redl authored
llvm-svn: 62008
-