| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"Add a completed/incomplete type difference. This allows us to have
partial types for contexts and forward decls while allowing us to
complete types later on for debug purposes.
This piggy-backs on the metadata replacement and rauw changes
for temporary nodes and takes advantage of the incremental
support I added in earlier. This allows us to, if we decide,
to limit adding methods and variables to structures in order
to limit the amount of debug information output into a .o file.
The caching is a bit complicated though so any thoughts on
untangling that are welcome."
with a fix:
- Remove all RAUW during type construction by adding stub versions
of types that we later complete.
and some TODOs:
- Add an RAUW cache for forward declared types so that we can replace
them at the end of compilation.
- Remove the code that updates on completed types because we no
longer need to have that happen. We emit incomplete types on
purpose and only want to know when we want to complete them.
llvm-svn: 150752
|
| |
|
|
| |
llvm-svn: 150739
|
| |
|
|
| |
llvm-svn: 150738
|
| |
|
|
| |
llvm-svn: 150737
|
| |
|
|
|
|
|
|
| |
processor, due to the Atom scheduler producing an instruction sequence that is
different from that which is expected.
Patch by Michael Spencer!
llvm-svn: 150736
|
| |
|
|
|
|
|
|
| |
Don't try to typo-correct a method redeclaration to declarations not in
the current record as it could lead to infinite recursion if CorrectTypo
finds more than one correction candidate in a parent record.
llvm-svn: 150735
|
| |
|
|
| |
llvm-svn: 150734
|
| |
|
|
|
|
|
| |
- Rename the category "Logic Error" -> "Memory Error".
- Shorten all the messages.
llvm-svn: 150733
|
| |
|
|
|
|
| |
of failing realloc. + Minor cleanups.
llvm-svn: 150732
|
| |
|
|
| |
llvm-svn: 150731
|
| |
|
|
|
|
|
|
|
| |
DataExtractor::Dump() needs to supply the correct cursor when delegating to the child DataExtractor::Dump() calls.
Add a regression test file.
rdar://problem/10872908
llvm-svn: 150729
|
| |
|
|
| |
llvm-svn: 150728
|
| |
|
|
|
|
|
| |
trailing return type but not a '()'. Recover by inserting the
parentheses. Thanks to Xeo on IRC for the example.
llvm-svn: 150727
|
| |
|
|
| |
llvm-svn: 150726
|
| |
|
|
|
|
|
|
|
| |
even if they are not within a function scope. Teach template
instantiation to treat them as such, and make sure that we have a
local instantiation scope when instantiating default arguments and
static data members.
llvm-svn: 150725
|
| |
|
|
| |
llvm-svn: 150724
|
| |
|
|
|
|
| |
expressions. To be used later.
llvm-svn: 150723
|
| |
|
|
|
|
| |
CoreEngine. Also have it based on adding predecessors/successors, not node allocation. No measurable performance change."
llvm-svn: 150722
|
| |
|
|
|
|
| |
restriction and add some tests.
llvm-svn: 150721
|
| |
|
|
|
|
| |
have it based on adding predecessors/successors, not node allocation. No measurable performance change.
llvm-svn: 150720
|
| |
|
|
|
|
| |
change.
llvm-svn: 150719
|
| |
|
|
| |
llvm-svn: 150716
|
| |
|
|
| |
llvm-svn: 150715
|
| |
|
|
|
|
| |
part of class meta-data.
llvm-svn: 150714
|
| |
|
|
| |
llvm-svn: 150713
|
| |
|
|
| |
llvm-svn: 150712
|
| |
|
|
| |
llvm-svn: 150711
|
| |
|
|
|
|
|
|
| |
name for dot syntax, e.g., NSObject.class or foo.class. For other
C++-keywords-as-method-names, use message send syntax. Fixes
<rdar://problem/10794452>.
llvm-svn: 150710
|
| |
|
|
|
|
|
|
|
| |
Call clobbers are now represented with register mask operands. The
regmask can easily represent the fact that xmm6 is call-preserved while
ymm6 isn't. This is automatically computed by TableGen from the
CalleeSavedRegs containing xmm6.
llvm-svn: 150709
|
| |
|
|
|
|
|
| |
The different calling conventions and call-preserved registers are
represented with regmask operands that are added dynamically.
llvm-svn: 150708
|
| |
|
|
|
|
| |
completions that don't insert braces. Fixes <rdar://problem/10764168>.
llvm-svn: 150707
|
| |
|
|
| |
llvm-svn: 150706
|
| |
|
|
|
|
|
|
|
|
| |
rdar://10289283
Also fix the fixit (oh the irony) when it uses CFBridgingRetain/CFBridgingRelease;
they are supposed to be calls with the casted expression as parameter, they should
not be inserted into the cast like the __bridge keywords.
llvm-svn: 150705
|
| |
|
|
|
|
| |
dependent attributes on static members of templatized classes.
llvm-svn: 150704
|
| |
|
|
|
|
| |
and introduces subtle miscompiles in many places.
llvm-svn: 150703
|
| |
|
|
| |
llvm-svn: 150702
|
| |
|
|
|
|
| |
lock, and unlock functions
llvm-svn: 150701
|
| |
|
|
| |
llvm-svn: 150700
|
| |
|
|
| |
llvm-svn: 150699
|
| |
|
|
|
|
|
|
| |
For compatibility with gcc, clang will now parse gcc attributes on
function definitions, but issue a warning if the attribute is not a
thread safety attribute. Warning controlled by -Wgcc-compat.
llvm-svn: 150698
|
| |
|
|
|
|
|
|
|
| |
This is in preparation for being able to warn about 'q' and other
non-standard format string features.
It also allows us to print its name correctly.
llvm-svn: 150697
|
| |
|
|
| |
llvm-svn: 150696
|
| |
|
|
|
|
|
| |
Turns out this isn't safe, because the code below depends on LHS and RHS having
the same type.
llvm-svn: 150695
|
| |
|
|
| |
llvm-svn: 150694
|
| |
|
|
|
|
|
| |
I think I did not get the implementation right. As the current implementation
works well, we will just stick with it for now.
llvm-svn: 150691
|
| |
|
|
|
|
| |
pointers.
llvm-svn: 150690
|
| |
|
|
| |
llvm-svn: 150689
|
| |
|
|
|
|
| |
This finishes generalized initializer support in Sema.
llvm-svn: 150688
|
| |
|
|
|
|
|
|
| |
hold the used constructor itself.""
This reintroduces commit r150682 with a fix for the Bullet benchmark crash.
llvm-svn: 150685
|
| |
|
|
|
|
|
|
|
|
| |
used constructor itself."
It leads to a compiler crash in the Bullet benchmark.
This reverts commit r12014.
llvm-svn: 150684
|