- Jul 15, 2009
-
-
Ted Kremenek authored
llvm-svn: 75698
-
Fariborz Jahanian authored
llvm-svn: 75692
-
- Jul 14, 2009
-
-
Eli Friedman authored
using -traditional and -traditional-cpp with clang an error because it's unsupported in clang and causes a significant change in the semantics of the language. llvm-svn: 75690
-
Devang Patel authored
llvm-svn: 75684
-
Ted Kremenek authored
Enhance RegionStoreManager to handle 'Retrieve's from SymbolicRegions. We do this by silently wrapping the region with an ElementRegion. This fixes the failures in misc-ps-region-store.m. llvm-svn: 75679
-
Chris Lattner authored
llvm-svn: 75675
-
Ted Kremenek authored
llvm-svn: 75672
-
Fariborz Jahanian authored
out of line definition. llvm-svn: 75668
-
Fariborz Jahanian authored
ctor-initializer AST build. llvm-svn: 75662
-
Fariborz Jahanian authored
llvm-svn: 75651
-
Steve Naroff authored
I don't love the name, however it simplifies the code and is a worthwhile change. If/when we come up with a better name, we can do a search/replace. llvm-svn: 75650
-
Fariborz Jahanian authored
semantics of order of construction [class.init]. llvm-svn: 75649
-
Chris Lattner authored
llvm-svn: 75647
-
Anders Carlsson authored
llvm-svn: 75641
-
Daniel Dunbar authored
--- Reverse-merging r75614 into '.': U lib/CodeGen/CGDebugInfo.cpp llvm-svn: 75639
-
Steve Naroff authored
Note: One day, it might be useful to consider adding this info to DeclGroup (as the comments in FunctionDecl/VarDecl suggest). For now, I think this works fine. I considered moving this to ValueDecl (a common ancestor of FunctionDecl/VarDecl/FieldDecl), however this would add overhead to EnumConstantDecl (which would burn memory and isn't necessary). llvm-svn: 75635
-
Alisdair Meredith authored
llvm-svn: 75627
-
Alisdair Meredith authored
llvm-svn: 75622
-
Chris Lattner authored
llvm-svn: 75614
-
Argyrios Kyrtzidis authored
llvm-svn: 75608
-
Argyrios Kyrtzidis authored
llvm-svn: 75606
-
Argyrios Kyrtzidis authored
llvm-svn: 75605
-
Argyrios Kyrtzidis authored
It iterates over all the redeclarations, regardless of the starting point. For example: 1) int f(); 2) int f(); 3) int f(); if you have the (2) FunctionDecl and call redecls_begin/redecls_end to iterate, you'll get this sequence: (2) (1) (3) The motivation to introduce this was that, previously, if (3) was a function definition, and you called getBody() at (2), it would not return it, since getBody() iterated over the previous declarations only, so it would only check (2) and (1). llvm-svn: 75604
-
Argyrios Kyrtzidis authored
For multiple redeclarations they return the last one. Also, add some non const versions of methods. llvm-svn: 75603
-
Argyrios Kyrtzidis authored
For multiple redeclarations they return the first one. llvm-svn: 75602
-
Argyrios Kyrtzidis authored
Ok, this is a bit out of place since C++ support is way way off, but it was just too cool to not show it off :-) llvm-svn: 75601
-
Argyrios Kyrtzidis authored
For C++ overloaded operator calls, set the source location of the DeclRefExpr to the location of the operator. llvm-svn: 75600
-
Argyrios Kyrtzidis authored
llvm-svn: 75599
-
Argyrios Kyrtzidis authored
llvm-svn: 75598
-
Argyrios Kyrtzidis authored
- Declaration context of ParmVarDecls (that we got from the Declarator) was not their containing function. - C++ out-of-line method definitions didn't get an access specifier. Both were exposed by a crash when emitting a C++ method to a PCH file (assert at Decl::CheckAccessDeclContext()). llvm-svn: 75597
-
Argyrios Kyrtzidis authored
llvm-svn: 75596
-
Argyrios Kyrtzidis authored
That way we can freely add new RUN lines without having to correct the line part in all the -point-at options. llvm-svn: 75595
-
Argyrios Kyrtzidis authored
llvm-svn: 75594
-
Argyrios Kyrtzidis authored
llvm-svn: 75593
-
Argyrios Kyrtzidis authored
llvm-svn: 75592
-
Argyrios Kyrtzidis authored
llvm-svn: 75591
-
Argyrios Kyrtzidis authored
llvm-svn: 75590
-
Devang Patel authored
llvm-svn: 75589
-
Daniel Dunbar authored
- Previously this would crash on recursive types, and it was also incorrectly stripping off a level of indirection. - I'm not 100% convinced this is all correct, but it should be a monotonic improvment. llvm-svn: 75582
-
Zhongxing Xu authored
invalidate the region correctly. It uses the cast-to type to invalidate the region when available. To avoid invalid cast-to type like 'void*' or 'id', region store now only records non-generic casts of regions. llvm-svn: 75580
-