| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
of the ASTReader is incomplete, leading to errors like not realizing std::type_info is already defined.
llvm-svn: 128664
|
| |
|
|
|
|
| |
automatically creating chained PCHs. This way, we don't get a crash whenever a diagnostic is emitted while processing the include.
llvm-svn: 128663
|
| |
|
|
| |
llvm-svn: 128641
|
| |
|
|
| |
llvm-svn: 128621
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
__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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
simulate constructors, but at least the analyzer doesn't think the return value is uninitialized.
llvm-svn: 128611
|
| |
|
|
|
|
| |
change.
llvm-svn: 128608
|
| |
|
|
| |
llvm-svn: 128607
|
| |
|
|
| |
llvm-svn: 128606
|
| |
|
|
|
|
| |
expression
llvm-svn: 128605
|
| |
|
|
|
|
|
| |
VCallAndVBaseOffsetBuilder::getCurrentOffsetOffset() to CharUnits. No change
in functionality intended.
llvm-svn: 128603
|
| |
|
|
|
|
|
| |
VCallAndVBaseOffsetBuilder::AddVBaseOffsets() to CharUnits. No change in
functionality intended.
llvm-svn: 128600
|
| |
|
|
|
|
| |
- Please never ever ever ever write a tool that sniffs this.
llvm-svn: 128599
|
| |
|
|
|
|
| |
constructor to CharUnits. No change in functionality intended.
llvm-svn: 128598
|
| |
|
|
|
|
|
| |
VCallAndVBaseOffsetBuilder::AddVCallAndVBaseOffsets() to
CharUnits. No change in functionality intended.
llvm-svn: 128596
|
| |
|
|
|
|
| |
into the Clang version.
llvm-svn: 128595
|
| |
|
|
| |
llvm-svn: 128590
|
| |
|
|
|
|
| |
<rdar://problem/9210154>.
llvm-svn: 128578
|
| |
|
|
|
|
|
|
|
|
|
| |
logic was divorced
from how we process ordinary function calls, had a tremendous about of redundancy, and relied
strictly on inlining behavior (which was incomplete) to provide semantics instead of falling
back to the conservative analysis we use for C functions. This is a significant step into
making C++ analyzer support more useful.
llvm-svn: 128557
|
| |
|
|
|
|
| |
Add a test case for synthesize ivar. // rdar://9070460
llvm-svn: 128554
|
| |
|
|
|
|
| |
for prperty reference types. // rdar://9208606.
llvm-svn: 128551
|
| |
|
|
|
|
| |
PHINode::Create() giving the (known or expected) number of operands.
llvm-svn: 128538
|
| |
|
|
| |
llvm-svn: 128534
|
| |
|
|
|
|
|
| |
VCallAndVBaseOffsetBuilder::AddVCallOffsets() to CharUnits. No change in
functionality intended.
llvm-svn: 128531
|
| |
|
|
|
|
| |
functionality intended.
llvm-svn: 128522
|
| |
|
|
|
|
| |
intended.
llvm-svn: 128521
|
| |
|
|
|
|
| |
to CharUnits. No change in functionality intended.
llvm-svn: 128520
|
| |
|
|
|
|
| |
CharUnits. No change in functionality intended.
llvm-svn: 128516
|
| |
|
|
|
|
|
|
| |
number information for better user experience.
Restrict the fix. This fixes break.exp failures from gdb testsuite.
llvm-svn: 128513
|
| |
|
|
| |
llvm-svn: 128512
|
| |
|
|
|
|
| |
packages, and which packages/checkers are hidden.
llvm-svn: 128511
|
| |
|
|
|
|
| |
commit r128474.
llvm-svn: 128475
|
| |
|
|
|
|
| |
assert-less codepath marginally more efficient.
llvm-svn: 128472
|
| |
|
|
|
|
| |
want to stop at closing '}'.
llvm-svn: 128471
|
| |
|
|
|
|
|
|
| |
Microsoft mode.
This fixes a bunch of errors when compiling MSVC header files with the -DDLL flag.
llvm-svn: 128457
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when the resolution took place due to a single template specialization
being named with an explicit template argument list. In this case, the
"resolution" doesn't take into account the target type at all, and
therefore can take place for functions, static member functions, and
*non-static* member functions. The latter weren't being properly checked
and their proper form enforced in this scenario. We now do so.
The result of this last form slipping through was some confusing logic
in IsStandardConversion handling of these resolved address-of
expressions which eventually exploded in an assert. Simplify this logic
a bit and add some more aggressive asserts to catch improperly formed
expressions getting into this routine.
Finally add systematic testing of member functions, both static and
non-static, in the various forms they can take. One of these is
essentially PR9563, and this commit fixes the crash in that PR. However,
the diagnostics for this are still pretty terrible. We at least are now
accepting the correct constructs and rejecting the invalid ones rather
than accepting invalid or crashing as before.
llvm-svn: 128456
|
| |
|
|
|
|
|
|
|
| |
to an assertion failure in the uninitialized variables analysis. The problem is that Sema isn't properly registering a variable in a DeclContext (which -Wuninitialized relies on), but
my expertise on the template instantiation logic isn't good enough to fix this problem for real. This patch worksaround the
problem in -Wuninitialized, but we should fix it for real later.
llvm-svn: 128443
|
| |
|
|
|
|
| |
type-dependent expressions. Fixes rdar://9027658.
llvm-svn: 128437
|
| |
|
|
|
|
|
| |
an executable test to llvm test suite.
// rdar://9070460.
llvm-svn: 128435
|
| |
|
|
| |
llvm-svn: 128433
|
| |
|
|
| |
llvm-svn: 128427
|
| |
|
|
|
|
| |
// rdar://9181463
llvm-svn: 128410
|
| |
|
|
| |
llvm-svn: 128401
|
| |
|
|
|
|
| |
functionality changed.
llvm-svn: 128396
|
| |
|
|
|
|
| |
No change in functionality intended.
llvm-svn: 128393
|
| |
|
|
|
|
| |
functionality intended.
llvm-svn: 128392
|
| |
|
|
|
|
| |
functionality intended.
llvm-svn: 128391
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
required modifying a few tests that specifically use note include stacks
to check the source manager's view of include stacks. I've simply added
the flag to these tests for now, they may have to be more substantially
changed if we decide to remove support for note include stacks
altogether.
Also, add a test for include stacks on notes that was supposed to go in
with the previous commit.
llvm-svn: 128390
|
| |
|
|
|
|
| |
an objc method. Fixes // rdar://9181463
llvm-svn: 128389
|