- Apr 02, 2011
-
-
Ted Kremenek authored
static analyzer: Rename 'BlocksAborted' to 'BlocksExhausted' to reflect that a given CFGBlock was analyzed too many times. llvm-svn: 128760
-
Ken Dyck authored
functionality intended. llvm-svn: 128756
-
Ken Dyck authored
CharUnits. No change in functionality intended. llvm-svn: 128754
-
Ken Dyck authored
functionality intended. llvm-svn: 128753
-
Ken Dyck authored
No change in functionality intended. llvm-svn: 128752
-
Fariborz Jahanian authored
block pointer nested inside a block. // rdar:// 9204669 llvm-svn: 128747
-
- Apr 01, 2011
-
-
Daniel Dunbar authored
llvm-svn: 128738
-
Fariborz Jahanian authored
__byref block. // rdar://9204669 llvm-svn: 128726
-
Devang Patel authored
llvm-svn: 128725
-
Ted Kremenek authored
llvm-svn: 128723
-
Chandler Carruth authored
location into a TemplateSpecializationTypeLoc. These were found using a hand-written program to inspect every source location in TemplateSpecializationTypeLocs and Valgrind. I don't know of any way to test them in Clang's existing test suite sadly. Example code that triggers the ElaboratedType case: template <typename T> struct X1 { template <typename U> struct X1_1 { int x; }; }; template <typename T, typename U> struct X2 { typename X1<T>::template X1_1<U> B; }; X2<char, int> x2; The other fix was simply spotted by inspection. I audited all constructions of [Dependent]TemplateSpecializationTypeLocs in TreeTransform.h, and the rest set the TemplateNameLoc properly. llvm-svn: 128702
-
Daniel Dunbar authored
that of the array element type. llvm-svn: 128698
-
Daniel Dunbar authored
arrays by propagating", it's breaking test in ways I don't understand yet. llvm-svn: 128693
-
Daniel Dunbar authored
the array alignment to the array access. - This is more or less the best we can do without having alignment present in the type system, but is a long way from truly matching how GCC handles this. llvm-svn: 128691
-
Fariborz Jahanian authored
__block block declaration. //rdar://9204669 llvm-svn: 128682
-
Ted Kremenek authored
Note this can potentially be enhanced to detect if the __block variable is actually written by the block, or only when the block "escapes" or is actually used, but that requires more analysis than it is probably worth for this simple check. llvm-svn: 128681
-
Lenny Maiorani authored
Add security syntax checker for strcpy() which causes the Static Analyzer to generate a warning any time the strcpy() function is used with a note suggesting to use a function which provides bounded buffers. llvm-svn: 128679
-
- Mar 31, 2011
-
-
Lenny Maiorani authored
Models mempcpy() so that if length is NULL the destination pointer is returned. Otherwise, the source and destination are confirmed not to be NULL and not overlapping. Finally the copy is validated to not cause a buffer overrun and the return value is bound to the address of the byte after the last byte copied. llvm-svn: 128677
-
Lenny Maiorani authored
llvm-svn: 128670
-
Sebastian Redl authored
Make ChainedIncludesSource an ExternalSemaSource, otherwise initialization of the ASTReader is incomplete, leading to errors like not realizing std::type_info is already defined. llvm-svn: 128664
-
Sebastian Redl authored
Tell the diagnostic client about starting and ending source files when automatically creating chained PCHs. This way, we don't get a crash whenever a diagnostic is emitted while processing the include. llvm-svn: 128663
-
Daniel Dunbar authored
llvm-svn: 128641
-
John McCall authored
llvm-svn: 128621
-
John McCall authored
__block object copy/dispose helpers for C++ objects with those for different variables with completely different semantics simply because they happen to both be no more aligned than a pointer. Found by inspection. Also, internalize most of the helper generation logic within CGBlocks.cpp, and refactor it to fit my peculiar aesthetic sense. llvm-svn: 128618
-
Ted Kremenek authored
Static analyzer: fix bug in handling of dynamic_cast<>. The sink node wouldn't always be the final node, thus causing the state to continue propagating. Instead, recover some path-sensitivity by conjuring a symbol. llvm-svn: 128612
-
Ted Kremenek authored
Teach static analyzer about the basics of handling new[]. We still don't simulate constructors, but at least the analyzer doesn't think the return value is uninitialized. llvm-svn: 128611
-
John McCall authored
change. llvm-svn: 128608
-
Matt Beaumont-Gay authored
llvm-svn: 128607
-
Matt Beaumont-Gay authored
llvm-svn: 128606
-
Matt Beaumont-Gay authored
llvm-svn: 128605
-
Ken Dyck authored
VCallAndVBaseOffsetBuilder::getCurrentOffsetOffset() to CharUnits. No change in functionality intended. llvm-svn: 128603
-
Ken Dyck authored
VCallAndVBaseOffsetBuilder::AddVBaseOffsets() to CharUnits. No change in functionality intended. llvm-svn: 128600
-
Daniel Dunbar authored
- Please never ever ever ever write a tool that sniffs this. llvm-svn: 128599
-
Ken Dyck authored
constructor to CharUnits. No change in functionality intended. llvm-svn: 128598
-
Ken Dyck authored
VCallAndVBaseOffsetBuilder::AddVCallAndVBaseOffsets() to CharUnits. No change in functionality intended. llvm-svn: 128596
-
Daniel Dunbar authored
into the Clang version. llvm-svn: 128595
-
Bob Wilson authored
llvm-svn: 128590
-
- Mar 30, 2011
-
-
-
Ted Kremenek authored
llvm-svn: 128573
-
-