Argyrios Kyrtzidis
|
389db16c63
Implement -working-directory.
|
15 years ago |
Dan Gohman
|
90d9081cac
Add support for code completion on stdin.
|
15 years ago |
Dan Gohman
|
694137c54c
Simplify this code: don't check for the same error two
|
15 years ago |
Douglas Gregor
|
a9f4f620da
Eliminate the (de-)serialization of code completion results, now that
|
15 years ago |
Douglas Gregor
|
d3ab63e0f6
Eliminate -fdiagnostics-binary and all of the infrastructure for
|
15 years ago |
Axel Naumann
|
7d0c4ccd65
Tighten up constness of argv parameters to allow for string literals as argumants and to reflect actual (non-modifying) use.
|
15 years ago |
Sebastian Redl
|
1d9f1fe717
Give every file that ASTReader loads a type: module, PCH, precompiled preamble or main file. Base Decls' PCHLevel on this to make it more sane.
|
15 years ago |
Argyrios Kyrtzidis
|
dc24572a44
Use a temporary file for output which gets renamed after all the writing is finished.
|
15 years ago |
Dan Gohman
|
f155dfa4e2
createMainFileID doesn't need its IncludePos argument, since
|
15 years ago |
Sebastian Redl
|
6ab7cd853e
Rename the ASTReader header files.
|
15 years ago |
Sebastian Redl
|
571db7f0cb
Rename various classes from PCH to AST.
|
15 years ago |
Sebastian Redl
|
c43b54cbc1
Rename PCHReader to ASTReader.
|
15 years ago |
Douglas Gregor
|
bdbb004f38
Simplify the ownership model for DiagnosticClients, which was really
|
15 years ago |
Sebastian Redl
|
857281328f
Reintroduce the serialization library, with fixed dependencies.
|
15 years ago |
Douglas Gregor
|
4557e473c9
Revert Sebastian's build-breaking patch.
|
15 years ago |
Sebastian Redl
|
93c972945b
Create a new Serialization module that contains all the PCH code, and will contain all the module code in the future. Update the Makefiles, CMake projects and the Xcode project. I hope I did everything right for Xcode. No functionality change.
|
15 years ago |
Douglas Gregor
|
8071e4212a
Extend the code-completion caching infrastructure to include global
|
15 years ago |
Douglas Gregor
|
1e3a97c98a
The Sema object will get destroyed before all of the others anyway. We don't need to force it
|
15 years ago |
Douglas Gregor
|
f18d0d8b39
Teach CompilerInstance to create and hold on to the Sema object used
|
15 years ago |
Douglas Gregor
|
1abc6bca3d
Add code-completion support directly to ASTUnit, which performs code
|
15 years ago |
Sebastian Redl
|
ffaab3e2bb
Make macro weirdness in chained PCH work. This required changing the way PCHReader and PCHWriter are initialized to correctly pick up all initializer. On the upside, this means that there is far less repetition in the dependent PCH now.
|
15 years ago |
Douglas Gregor
|
fae3b2f474
Implement -fno-validate-pch at the -cc1 level, which suppresses most
|
15 years ago |
Douglas Gregor
|
63fe86bee6
Make ASTContext always use the BumpPtrAllocator.
|
15 years ago |
Sebastian Redl
|
fae4f1546a
Correctly initialize Reader to null.
|
15 years ago |
Sebastian Redl
|
a93e3b5bde
Some preparatory work for chained PCH. No functionality change.
|
15 years ago |
Daniel Dunbar
|
2056048f0f
Frontend: Move some initialization from CompilerInstance to FrontendAction, to parallel what is done for AST inputs.
|
15 years ago |
Daniel Dunbar
|
d3598a6571
Frontend: Change FrontendAction::BeginSourceFile to take the input kind instead of an IsAST bool.
|
15 years ago |
Daniel Dunbar
|
c34ce3fa61
Frontend: Lift InputKind enumeration to top level.
|
15 years ago |
Dan Gohman
|
6f118975f9
MemoryBuffer::getSTDIN may return a null pointer if an error occurs.
|
15 years ago |
Douglas Gregor
|
d8e8a58ee3
Only enable code patterns (e.g., try { statements } catch (...) {
|
15 years ago |