- Jul 14, 2009
-
-
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: 75606
-
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
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: 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: 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
-
Ted Kremenek authored
are not explicitly marked as not accepting NULL pointers. This check illustrates how we need more refactoring in the custom-check logic. llvm-svn: 75570
-
Owen Anderson authored
llvm-svn: 75569
-
Ted Kremenek authored
Tidy pretty-printing for SVals, using 'dump()' instead of 'printStdErr()', and implementing operator<< support for llvm::raw_ostream. llvm-svn: 75560
-
Ted Kremenek authored
When pretty-printing symbolic regions, use '{' ... '}' to indicate the symbol used for the region (makes it easier to read for nested regions). llvm-svn: 75550
-
Fariborz Jahanian authored
llvm-svn: 75549
-
Ted Kremenek authored
Change pretty-printing API for SymExprs and MemRegions to use a naming convention and style similar to other elements in Clang. llvm-svn: 75548
-
- Jul 13, 2009
-
-
Ted Kremenek authored
where we are comparing a symbolic value against itself, regardless of the nature of that symbolic value. This enhancement identified a case where RegionStoreManager is not correctly symbolicating the values of the pointees of parameters. The failing test is now in 'test/Analysis/misc-ps-region-store.m', with that test file now (temporarily) marked XFAIL. llvm-svn: 75521
-
Daniel Dunbar authored
in array value-initialization. llvm-svn: 75518
-
Daniel Dunbar authored
llvm-svn: 75517
-
Steve Naroff authored
llvm-svn: 75509
-
Steve Naroff authored
llvm-svn: 75505
-
Chris Lattner authored
llvm-svn: 75492
-
Fariborz Jahanian authored
llvm-svn: 75487
-
Steve Naroff authored
- Improve comment for Type::getPointeeType(). - Remove a couple redundant casts/returns. - Fix 80 column violations for all getAsStringInternal() methods. llvm-svn: 75485
-
http://llvm.org/viewvc/llvm-project?view=rev&revision=75314Steve Naroff authored
Still more to come...just wanted to get the no-brainers out of the way. llvm-svn: 75477
-
Devang Patel authored
llvm-svn: 75473
-
Devang Patel authored
llvm-svn: 75471
-