#
a96bd562 |
| 26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove the last use of PathWithStatus.
llvm-svn: 184909
|
#
bc4aa554 |
| 26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use llvm::sys::fs::unique_file.
llvm-svn: 184908
|
#
bc7d949b |
| 26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove some uses of llvm::sys::Path.
llvm-svn: 184907
|
#
48d88de2 |
| 24-Jun-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[libclang/codecompletion] Make sure the top-level decl hash takes into account ImportDecls.
The top-level hash is used to determine if we need to update the global code-completion results. ImportDec
[libclang/codecompletion] Make sure the top-level decl hash takes into 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
show more ...
|
#
be3b12b0 |
| 20-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use the new name of getUniqueID.
llvm-svn: 184432
|
#
f9e9bb88 |
| 18-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use llvm::sys::fs::GetUniqueID.
llvm-svn: 184218
|
#
be513888 |
| 11-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Include PathV1.h in files that use it.
This is preparation for replacing Path.h with PathV2.h.
llvm-svn: 183781
|
#
d6f57221 |
| 11-Jun-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Modify a comment to reflect changes of r183717.
llvm-svn: 183751
|
#
65745dc0 |
| 11-Jun-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
ASTUnit: Invert the dependency of PrecompilePreambleAction on PrecompilePreambleConsumer.
Actions outlive consumers. PR16295. Found by AddressSanitizer.
llvm-svn: 183741
|
#
f0168de9 |
| 11-Jun-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[libclang] Allow building a precompiled preamble with compiler errors
A while ago we allowed libclang to build a PCH that had compiler errors; this was to retain the performance afforded by a PCH ev
[libclang] Allow building a precompiled preamble with compiler errors
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
show more ...
|
Revision tags: llvmorg-3.3.0, llvmorg-3.3.0-rc3 |
|
#
dc9fdaf2 |
| 24-May-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[modules] If we hit a failure while loading a PCH/module, abort parsing instead of trying to continue in an invalid state.
Also don't let libclang create a PCH with such an error.
Fixes rdar://1395
[modules] If we hit a failure while loading a PCH/module, abort parsing 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
show more ...
|
Revision tags: llvmorg-3.3.0-rc2 |
|
#
1c7455f4 |
| 10-May-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[libclang] When parsing with CXTranslationUnit_ForSerialization, make sure to install the ASTWriter that we create as an ASTMutationListener.
Fixes rdar://13833268
llvm-svn: 181575
|
#
1054bbf0 |
| 08-May-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[PCH] Remove the ASTReaderListener::ReadHeaderFileInfo callback.
This made sense in pre-module era, before merging of HeaderFileInfos was introduced.
Final part of rdar://13840148.
llvm-svn: 181490
|
Revision tags: llvmorg-3.3.0-rc1 |
|
#
1ce5d800 |
| 05-May-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Use remove_if to erase parts of a vector. Avoids O(n^2) worst cases.
llvm-svn: 181150
|
#
30071cea |
| 03-May-2013 |
Douglas Gregor <dgregor@apple.com> |
Remove DiagnosticConsumer::clone(), a bad idea that is now unused.
llvm-svn: 181070
|
#
6b930967 |
| 03-May-2013 |
Douglas Gregor <dgregor@apple.com> |
When building a module, forward diagnostics to the outer diagnostic consumer.
Previously, we would clone the current diagnostic consumer to produce a new diagnostic consumer to use when building a m
When building a module, forward diagnostics to the outer diagnostic consumer.
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
show more ...
|
#
7029ce1a |
| 19-Mar-2013 |
Douglas Gregor <dgregor@apple.com> |
<rdar://problem/13363214> Eliminate race condition between module rebuild and the global module index.
The global module index was querying the file manager for each of the module files it knows abo
<rdar://problem/13363214> Eliminate race condition between module rebuild and the global module index.
The global module index was querying the file manager for each of the module files it knows about at load time, to prune out any out-of-date information. The file manager would then cache the results of the stat() falls used to find that module file.
Later, the same translation unit could end up trying to import one of the module files that had previously been ignored by the module cache, but after some other Clang instance rebuilt the module file to bring it up-to-date. The stale stat() results in the file manager would trigger a second rebuild of the already-up-to-date module, causing failures down the line.
The global module index now lazily resolves its module file references to actual AST reader module files only after the module file has been loaded, eliminating the stat-caching race. Moreover, the AST reader can communicate to its caller that a module file is missing (rather than simply being out-of-date), allowing us to simplify the module-loading logic and allowing the compiler to recover if a dependent module file ends up getting deleted.
llvm-svn: 177367
show more ...
|
#
37f2ab48 |
| 05-Mar-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[libclang] When logging a CXTranslationUnit that came from an AST file, print out the filename.
llvm-svn: 176511
|
#
fead64be |
| 24-Feb-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[preprocessor] Use MacroDirective in the preprocessor callbacks to make available the full information about the macro (e.g if it was imported and where).
llvm-svn: 175978
|
#
acf2e786 |
| 22-Feb-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Comment parsing: add CommentOptions to allow specifying custom comment block commands
Add an ability to specify custom documentation block comment commands via a new class CommentOptions. The inten
Comment parsing: add CommentOptions to allow specifying custom comment block commands
Add an ability to specify custom documentation block comment commands via a new class CommentOptions. The intention is that this class will hold future customizations for comment parsing, including defining documentation comments with specific numbers of parameters, etc.
CommentOptions instance is a member of LangOptions.
CommentOptions is controlled by a new command-line parameter -fcomment-block-commands=Foo,Bar,Baz.
llvm-svn: 175892
show more ...
|
#
fe0483db |
| 23-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Use 'const Decl *' throughout code completion in Sema
llvm-svn: 173277
|
#
3ad52ede |
| 21-Jan-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[ASTUnit] Unlike LoadFromCommandLine, LoadFromCompilerInvocation causes a crash if Precompilepreamble is set to true because there is no FileManager at that point.
Patch by Hurcan Solter!
llvm-svn:
[ASTUnit] Unlike LoadFromCommandLine, LoadFromCompilerInvocation causes a crash if Precompilepreamble is set to true because there is no FileManager at that point.
Patch by Hurcan Solter!
llvm-svn: 173071
show more ...
|
#
f1b49e23 |
| 20-Jan-2013 |
Sean Silva <silvas@purdue.edu> |
Nuke SetUpBuildDumpLog.
Also, it was the only reason that `argc` and `argv` were being passed into createDiagnostics, so remove those parameters and clean up callers.
llvm-svn: 172945
|
#
f857950d |
| 12-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Remove useless 'llvm::' qualifier from names like StringRef and others that are brought into 'clang' namespace by clang/Basic/LLVM.h
llvm-svn: 172323
|
#
928e1fde |
| 11-Jan-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[libclang] In ASTUnit::getMainFileName() Invocation may be null because the ASTUnit came from loading a PCH/module.
llvm-svn: 172259
|