| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
This was previously not-const only because it has to lazily construct a chain
of ivars the first time it is called (and after the chain is invalidated).
In practice, all the clients were just const_casting their const Decls;
all those now-unnecessary const_casts have been removed.
llvm-svn: 135741
|
| |
|
|
|
|
|
|
|
|
| |
C function) implementation
will be rejected with a compilation error in ARC mode, and a compiler warning otherwise.
This may cause breakage in non-arc (and arc) tests which don't expect warning/error. Feel free
to fix the tests, or reverse the patch, if I am unavailable. // rdar://9818354 - WIP
llvm-svn: 135740
|
| |
|
|
|
|
|
|
| |
type IDs into a single place, and make sure that all of the callers
use the appropriate functions to do the mapping. Since the mapping is
still the identity function, this is essentially a no-op.
llvm-svn: 135733
|
| |
|
|
|
|
|
| |
when using ccache and libtool.m4 assumes that the compiler cannot print
warnings about options it knows about.
llvm-svn: 135723
|
| |
|
|
|
|
| |
within the ASTReader (I hope).
llvm-svn: 135720
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
such that every declaration ID loaded from an AST file will go through
a central local -> global mapping function. At present, this change
does nothing, since the local -> global mapping function is the
identity function.
This is the mechanical part of the refactoring; a follow-up patch will
address a few remaining areas where it's not obvious whether we're
dealing with local or global IDs.
llvm-svn: 135711
|
| |
|
|
| |
llvm-svn: 135708
|
| |
|
|
|
|
| |
of -fobjc-arc. rdar://9818341
llvm-svn: 135707
|
| |
|
|
|
|
| |
and generalizes how CXX base specifiers are identified and loaded by using a ContinuousRangeMap. This also adds a global bit offset (or base) to the PerFileData.
llvm-svn: 135705
|
| |
|
|
|
|
| |
remappings we generate
llvm-svn: 135701
|
| |
|
|
|
|
|
| |
entries incrementally, rather than iterating over the chain when
loading a single AST file.
llvm-svn: 135692
|
| |
|
|
|
|
|
|
| |
actual filename.
Should avoid race conditions. Addresses rdar://9788943.
llvm-svn: 135691
|
| |
|
|
|
|
| |
instead of createTemporaryFileOnDisk.
llvm-svn: 135690
|
| |
|
|
|
|
| |
initializers since r132890.
llvm-svn: 135689
|
| |
|
|
|
|
| |
projects. C++98/03 is sooooo yesterday
llvm-svn: 135687
|
| |
|
|
| |
llvm-svn: 135686
|
| |
|
|
|
|
| |
// rdar://9615045
llvm-svn: 135685
|
| |
|
|
|
|
| |
a warning flag. // rdar://9615045
llvm-svn: 135681
|
| |
|
|
| |
llvm-svn: 135680
|
| |
|
|
|
|
| |
PreprocessingRecord::iterator. Where's concept_map when I need it?
llvm-svn: 135679
|
| |
|
|
| |
llvm-svn: 135675
|
| |
|
|
|
|
| |
ConstantExpr::getInBoundsGetElementPtr to use ArrayRef.
llvm-svn: 135673
|
| |
|
|
|
|
| |
with a huge 50+ lines template error message if PreprocessingRecord::iterator has no operator<()
llvm-svn: 135670
|
| |
|
|
| |
llvm-svn: 135668
|
| |
|
|
| |
llvm-svn: 135667
|
| |
|
|
|
|
| |
functionality change.
llvm-svn: 135666
|
| |
|
|
|
|
| |
so that the directory seperator, which may change on different platforms, is no longer part of the string checked for.
llvm-svn: 135665
|
| |
|
|
|
|
| |
-Wsign-compare. Cases that previously warn on this will have a different warning emitted from -Wsign-conversion.
llvm-svn: 135664
|
| |
|
|
|
|
| |
Connor Wakamo!
llvm-svn: 135651
|
| |
|
|
|
|
| |
access specifier as public.
llvm-svn: 135649
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
entities generated directly by the preprocessor from those loaded from
the external source (e.g., the ASTReader). By separating these two
sets of entities into different vectors, we allow both to grow
independently, and eliminate the need for preallocating all of the
loaded preprocessing entities. This is similar to the way the recent
SourceManager refactoring treats FileIDs and the source location
address space.
As part of this, switch over to building a continuous range map to
track preprocessing entities.
llvm-svn: 135646
|
| |
|
|
|
|
| |
C++ function call is missing * or & operators on
llvm-svn: 135643
|
| |
|
|
| |
llvm-svn: 135640
|
| |
|
|
|
|
| |
// pr10411
llvm-svn: 135638
|
| |
|
|
|
|
| |
patch cleans up and generalizes TypeID loading and uses a similar table-lookup to Doug's previous Decl patch.
llvm-svn: 135622
|
| |
|
|
| |
llvm-svn: 135621
|
| |
|
|
| |
llvm-svn: 135619
|
| |
|
|
|
|
|
|
|
| |
information
including the fully preprocessed source file(s) and command line arguments. The
developer is asked to attach this diagnostic information to a bug report.
llvm-svn: 135614
|
| |
|
|
| |
llvm-svn: 135612
|
| |
|
|
|
|
| |
passed by reference.
llvm-svn: 135610
|
| |
|
|
| |
llvm-svn: 135605
|
| |
|
|
|
|
|
|
| |
x86_64-pc-win32-macho is used in conjunction with -no-integrated-as go ahead and
use the Darwin system assembler.
rdar://9785470
llvm-svn: 135604
|
| |
|
|
|
|
|
| |
fails because of lifetime differences of parameter and argument type.
// rdar://9790531
llvm-svn: 135593
|
| |
|
|
| |
llvm-svn: 135591
|
| |
|
|
| |
llvm-svn: 135585
|
| |
|
|
|
|
|
| |
away (since it comes in through Casting.h). This will have to wait for another
day when I'm unmotivated though, or someone else to pick it up :)
llvm-svn: 135579
|
| |
|
|
| |
llvm-svn: 135578
|
| |
|
|
| |
llvm-svn: 135577
|
| |
|
|
|
|
|
| |
some common llvm types: stringref and smallvector. This cleans up the codebase
quite a bit.
llvm-svn: 135576
|
| |
|
|
|
|
|
|
| |
clang namespace. There are a number of LLVM types that are used pervasively
and it doesn't make sense to keep qualifying them. Start with casting
operators.
llvm-svn: 135574
|