| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
This introduces FunctionType::ExtInfo to hold the calling convention and the
noreturn attribute. The next patch will extend it to include the regparm
attribute and fix the bug.
llvm-svn: 99920
|
| |
|
|
|
|
| |
const char*.
llvm-svn: 98630
|
| |
|
|
|
|
| |
and start simplifying the interfaces in SourceManager that can fail.
llvm-svn: 98594
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
SourceManager's getBuffer() (and similar) operations. This abstract
can be used to force callers to cope with errors in getBuffer(), such
as missing files and changed files. Fix a bunch of callers to use the
new interface.
Add some very basic checks for file consistency (file size,
modification time) into ContentCache::getBuffer(), although these
checks don't help much until we've updated the main callers (e.g.,
SourceManager::getSpelling()).
llvm-svn: 98585
|
| |
|
|
|
|
|
| |
external linkage (static, extern, etc.) in blocks in
rewriter. wip.
llvm-svn: 98265
|
| |
|
|
|
|
| |
Fixes radar 7738452.
llvm-svn: 98190
|
| |
|
|
|
|
| |
on a block API struct definition.
llvm-svn: 97754
|
| |
|
|
|
|
| |
moved incorrectly. (radar 7714443).
llvm-svn: 97734
|
| |
|
|
|
|
| |
Satisfies radar 7703202.
llvm-svn: 97532
|
| |
|
|
|
|
| |
Radar 7696893.
llvm-svn: 97520
|
| |
|
|
|
|
| |
Fixes radar 7692183.
llvm-svn: 97281
|
| |
|
|
| |
llvm-svn: 97280
|
| |
|
|
| |
llvm-svn: 97274
|
| |
|
|
|
|
| |
Fixes radar 7692350.
llvm-svn: 97254
|
| |
|
|
|
|
|
| |
blocks's argument in the inner block requires special treatment.
Fixes radar 7692419.
llvm-svn: 97244
|
| |
|
|
|
|
| |
attributes. Fixes radar 7214439.
llvm-svn: 97203
|
| |
|
|
|
|
|
| |
blocks use variables not used in any of the outer blocks.
(Fixes radar 7682149).
llvm-svn: 97073
|
| |
|
|
|
|
| |
a block pointer type. Fixes radar 7682149.
llvm-svn: 97008
|
| |
|
|
|
|
| |
rewriting problem. Fixes radar 7680953.
llvm-svn: 96987
|
| |
|
|
|
|
| |
itself rewritten. Radar 7669784.
llvm-svn: 96798
|
| |
|
|
|
|
|
|
| |
fixing up a few callers that thought they were propagating NoReturn
information but were in fact saying something about exception
specifications.
llvm-svn: 96766
|
| |
|
|
|
|
|
|
| |
This was causing buildbot breakage.
This reverts commit d46e952cc8cb8d9eed8657d9a0b267910a0f745a.
llvm-svn: 96652
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to initializer expressions in an array allocated using ASTContext.
This plugs a memory leak when ASTContext uses a BumpPtrAllocator to
allocate memory for AST nodes.
In my mind this isn't an ideal solution; it would be nice to have
a general "vector"-like class that allocates memory using ASTContext,
but whose guts could be separated from the methods of InitListExpr
itself. I haven't gone and taken this approach yet because it isn't
clear yet if we'll eventually want an alternate solution for recylcing
memory using by InitListExprs as we are constructing the ASTs.
llvm-svn: 96642
|
| |
|
|
|
|
| |
instead relies on their DeclContext for iteration, etc.
llvm-svn: 96638
|
| |
|
|
|
|
| |
rewriting. Fixes radar 7659483.
llvm-svn: 96549
|
| |
|
|
| |
llvm-svn: 96361
|
| |
|
|
|
|
| |
causes C++ compile error (radar 7651312).
llvm-svn: 96352
|
| |
|
|
|
|
| |
(fixes radar 7649577).
llvm-svn: 96270
|
| |
|
|
|
|
| |
unnecessary length arguments.
llvm-svn: 96164
|
| |
|
|
|
|
|
| |
with block-pointer-type as one or more of its
arguments. Fixes radar 7638400.
llvm-svn: 95992
|
| |
|
|
|
|
|
|
|
|
| |
not match
order of constructor arguments (all block API specific). This was exposed only in
a large block literal expression in a large file where PtrSet container size
execceded its limit and required reallocation. Fixes radar 7638294
llvm-svn: 95936
|
| |
|
|
|
|
| |
associated with ASTContext. This fixes yet another leak (<rdar://problem/7639260>).
llvm-svn: 95930
|
| |
|
|
|
|
| |
Decl subclasses. No functionality change.
llvm-svn: 95841
|
| |
|
|
|
|
| |
Fixes radar 7630551
llvm-svn: 95796
|
| |
|
|
|
|
| |
in a declaration statement. Fixes radar 7628153.
llvm-svn: 95788
|
| |
|
|
|
|
| |
Fixes radar 7630636.
llvm-svn: 95744
|
| |
|
|
|
|
|
| |
anything when Sema has issued an error. This matches the behavior in
RewriteObjC::HandleTranslationUnit().
llvm-svn: 95434
|
| |
|
|
|
|
| |
Fixes radar 7617047.
llvm-svn: 95392
|
| |
|
|
|
|
| |
my recent changes.
llvm-svn: 95391
|
| |
|
|
|
|
| |
(Fixes radar 7607605).
llvm-svn: 95341
|
| |
|
|
|
|
| |
the rewriter. (Fixes radar 7607781).
llvm-svn: 95267
|
| |
|
|
|
|
| |
(Fixes radar 7607413).
llvm-svn: 95257
|
| |
|
|
|
|
| |
Fixes radar 7589414.
llvm-svn: 95097
|
| |
|
|
|
|
| |
definition comes after where it is needed. Fixes radar 7589385.
llvm-svn: 94788
|
| |
|
|
|
|
| |
(Radar 7583971).
llvm-svn: 94724
|
| |
|
|
| |
llvm-svn: 94584
|
| |
|
|
|
|
| |
type-cast to its sub-class (radar 7575882).
llvm-svn: 94559
|
| |
|
|
|
|
| |
access (was radar 7575882).
llvm-svn: 94481
|
| |
|
|
|
|
| |
to subclass. (Fixes radar 7575882).
llvm-svn: 94444
|
| |
|
|
|
|
| |
Fixes radar 7562952.
llvm-svn: 94087
|