| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 185127
|
|
|
|
|
|
|
|
| |
* Use a single stat to find out if the file exists and if it is a regular file.
* Use early returns when possible.
* Add comments explaining why we have each check.
llvm-svn: 185091
|
|
|
|
| |
llvm-svn: 184918
|
|
|
|
| |
llvm-svn: 184915
|
|
|
|
| |
llvm-svn: 184913
|
|
|
|
| |
llvm-svn: 184912
|
|
|
|
| |
llvm-svn: 184909
|
|
|
|
| |
llvm-svn: 184908
|
|
|
|
| |
llvm-svn: 184907
|
|
|
|
|
|
| |
usage of clang as a library.
llvm-svn: 184812
|
|
|
|
|
|
|
|
|
|
|
| |
account ImportDecls.
The top-level hash is used to determine if we need to update the global code-completion results.
ImportDecls did not affect the hash so a newly introduced ImportDecl would not trigger an update of the global results.
rdar://14202797
llvm-svn: 184782
|
|
|
|
|
|
| |
follow.
llvm-svn: 184678
|
|
|
|
| |
llvm-svn: 184640
|
|
|
|
|
|
| |
given -disable-free. (Reviewed by John McCall over IRC.)
llvm-svn: 184595
|
|
|
|
|
|
|
|
|
| |
a system module.
This prevents -pedantic from causing warnings in the system headers
used to create modules. Fixes <rdar://problem/14201171>.
llvm-svn: 184560
|
|
|
|
|
|
|
| |
headers may be included from within the module, but not from outside
the module.
llvm-svn: 184471
|
|
|
|
| |
llvm-svn: 184432
|
|
|
|
|
|
|
|
| |
These options will add a module flag with name "Dwarf Version".
The behavior flag is currently set to Warning, so when two values disagree,
a warning will be emitted.
llvm-svn: 184276
|
|
|
|
| |
llvm-svn: 184234
|
|
|
|
| |
llvm-svn: 184218
|
|
|
|
| |
llvm-svn: 184166
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The big changes are:
- Deleting Driver/(Arg|Opt)*
- Rewriting includes to llvm/Option/ and re-sorting
- 'using namespace llvm::opt' in clang::driver
- Fixing the autoconf build by adding option everywhere
As discussed in the review, this change includes using directives in
header files. I'll make follow up changes to remove those in favor of
name specifiers.
Reviewers: espindola
Differential Revision: http://llvm-reviews.chandlerc.com/D975
llvm-svn: 183989
|
|
|
|
| |
llvm-svn: 183945
|
|
|
|
| |
llvm-svn: 183944
|
|
|
|
| |
llvm-svn: 183903
|
|
|
|
| |
llvm-svn: 183861
|
|
|
|
|
|
| |
This is preparation for replacing Path.h with PathV2.h.
llvm-svn: 183781
|
|
|
|
| |
llvm-svn: 183751
|
|
|
|
|
|
|
|
| |
PrecompilePreambleConsumer.
Actions outlive consumers. PR16295. Found by AddressSanitizer.
llvm-svn: 183741
|
|
|
|
|
|
|
|
|
|
|
| |
A while ago we allowed libclang to build a PCH that had compiler errors; this was to retain the performance
afforded by a PCH even if the user's code is in an intermediate state.
Extend this for the precompiled preamble as well.
rdar://14109828
llvm-svn: 183717
|
|
|
|
|
|
| |
Patch by Sukolsak Sakshuwong!
llvm-svn: 183535
|
|
|
|
|
|
| |
FAILIFMISMATCH linker command into the object file.
llvm-svn: 183178
|
|
|
|
|
|
|
|
|
|
| |
instead of trying to continue in an invalid state.
Also don't let libclang create a PCH with such an error.
Fixes rdar://13953768
llvm-svn: 182629
|
|
|
|
| |
llvm-svn: 182333
|
|
|
|
|
|
| |
nonexistent Darwin-specific files on every module build.
llvm-svn: 182331
|
|
|
|
|
|
|
| |
we loaded from PCH, if we're building another PCH, create an update record to
patch the return type of the earlier declaration.
llvm-svn: 181659
|
|
|
|
|
|
|
|
| |
SystemVersion.plist.
Fixes <rdar://problem/13856838>.
llvm-svn: 181635
|
|
|
|
|
|
|
|
| |
to install the ASTWriter that we create as an ASTMutationListener.
Fixes rdar://13833268
llvm-svn: 181575
|
|
|
|
|
|
|
|
| |
This made sense in pre-module era, before merging of HeaderFileInfos was introduced.
Final part of rdar://13840148.
llvm-svn: 181490
|
|
|
|
| |
llvm-svn: 181388
|
|
|
|
|
|
|
|
|
| |
provisional C++1y support.
Add __has_feature and __has_extension checks for C++1y features (based on the provisional names from
the C++ features study group), and update documentation to match.
llvm-svn: 181342
|
|
|
|
| |
llvm-svn: 181150
|
|
|
|
|
|
|
|
| |
constructor from None
Patch by Robert Wilhelm.
llvm-svn: 181139
|
|
|
|
|
|
| |
Per discussion in cfe-commits, asserting may be a better way than introducing a special test flag.
llvm-svn: 181073
|
|
|
|
| |
llvm-svn: 181070
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, we would clone the current diagnostic consumer to produce
a new diagnostic consumer to use when building a module. The problem
here is that we end up losing diagnostics for important diagnostic
consumers, such as serialized diagnostics (where we'd end up with two
diagnostic consumers writing the same output file). With forwarding,
the diagnostics from all of the different modules being built get
forwarded to the one serialized-diagnostic consumer and are emitted in
a sane way.
Fixes <rdar://problem/13663996>.
llvm-svn: 181067
|
|
|
|
| |
llvm-svn: 180766
|
|
|
|
|
|
|
|
| |
line directives are emitted in the next line.
rdar://13722737
llvm-svn: 180718
|
|
|
|
| |
llvm-svn: 180633
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specifically, allow the flags that fall under this umbrella (i.e., -O3,
-ffast-math, and -fstrict-aliasing) to be overridden/disabled with the
individual -O[0|1|2|s|z]/-fno- flags.
This also fixes the handling of various floating point optimization
flags that are modified by -ffast-math (and thus -Ofast as well).
Part of rdar://13622687
llvm-svn: 180204
|