- 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
-
Ted Kremenek authored
llvm-svn: 62137
-
Zhongxing Xu authored
its Decls in indented format. An Example: $ cat t.cpp class A { int a; void f(); }; void A::f() { a = 3; } $ clang -print-decl-contexts t.cpp [translation unit] 0x9754d7c <typedef> __builtin_va_list [class] A 0x9753310 <class> A 0x975ce20 <field> a <c++ method> f <c++ ctor> A <c++ ctor> A <c++ method> operator= <c++ dtor> ~A [c++ method] f [[0x9753310]] Some comments: '<>' indicates a declaration, '[]' indicates a definition, '[[ ]]' displays the semantic DeclContext which is different from the lexical DeclContext. The symbols printed can definitely be changed in the future. llvm-svn: 62136
-
Fariborz Jahanian authored
llvm-svn: 62135
-
Ted Kremenek authored
llvm-svn: 62132
-
Daniel Dunbar authored
llvm-svn: 62131
-
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
-
Douglas Gregor authored
llvm-svn: 62121
-
Ted Kremenek authored
llvm-svn: 62119
-
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
-
Daniel Dunbar authored
llvm-svn: 62108
-
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: 62105
-
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
-
Daniel Dunbar authored
llvm-svn: 62097
-
Daniel Dunbar authored
llvm-svn: 62093
-
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
-
Daniel Dunbar authored
llvm-svn: 62089
-
Daniel Dunbar authored
Darwin/Compile tool. llvm-svn: 62085
-
Daniel Dunbar authored
path). llvm-svn: 62083
-
Daniel Dunbar authored
llvm-svn: 62082
-
Daniel Dunbar authored
llvm-svn: 62081
-
Daniel Dunbar authored
llvm-svn: 62079
-
Daniel Dunbar authored
llvm-svn: 62078
-
Daniel Dunbar authored
- Support comma joined options which magically turn into multiple value arguments (e.g., -Wl,) - Split out separate Arg::render routine for when an argument is being rendered as an input (as opposed to in its original form). - Add option flag for options which should be rendered without the option when they are used as an input (e.g., -Xlinker or -o). - Support -weak-l..., -weak_framework, and -weak_library. llvm-svn: 62075
-
Daniel Dunbar authored
present. llvm-svn: 62070
-
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: 62062
-
Chris Lattner authored
llvm-svn: 62061
-