Dylan Noblesmith
|
8b2795c397
Frontend: unique_ptr-ify
|
11 years ago |
Rafael Espindola
|
623a4f45c0
return a std::unique_ptr from getMainBufferWithPrecompiledPreamble. NFC.
|
11 years ago |
Rafael Espindola
|
2166e87fec
Simplify ASTUnit::Parse a bit by passing a std::unique_ptr to it.
|
11 years ago |
Rafael Espindola
|
9cda133757
Small cleanup: Don't duplicate default behavior.
|
11 years ago |
Rafael Espindola
|
48bd21767d
Use std::unique_ptr to simplify memory management a bit.
|
11 years ago |
Rafael Espindola
|
1cb6d934f5
Use StringRef instead of MemoryBuffer&.
|
11 years ago |
David Blaikie
|
9febd24345
Change MemoryBuffer* to MemoryBuffer& parameter to Lexer::ComputePreamble
|
11 years ago |
David Blaikie
|
b53da86048
Recommit 213307: unique_ptr-ify ownership of ASTConsumers (reverted in r213325)
|
11 years ago |
David Blaikie
|
b4c407791d
unique_ptr-ify CompilerInstance::takeSema
|
11 years ago |
David Blaikie
|
04a5a7f94b
std::unique_ptr-ify the result of ASTUnit::LoadFromASTFile
|
11 years ago |
David Blaikie
|
cde40130ce
unique_ptr-ify ASTReaderListener in the ASTReader
|
11 years ago |
David Blaikie
|
80bfbba822
Revert "unique_ptr-ify ownership of ASTConsumers"
|
11 years ago |
David Blaikie
|
4d15e347a0
unique_ptr-ify ownership of ASTConsumers
|
11 years ago |
Alp Toker
|
5676ff327f
Remove unused sys/stat.h includes
|
11 years ago |
Alp Toker
|
57b86d027b
Peel away old-style file remapping typedefs and cruft
|
11 years ago |
Alp Toker
|
1088db3c87
Use non-intrusive refcounting for TargetOptions
|
11 years ago |
Alp Toker
|
3e84eb7db6
Use non-intrusive refcounting for LangOptions
|
11 years ago |
Alp Toker
|
f7445e6c6f
Constify a read-only parameter and give function a better name
|
11 years ago |
Alp Toker
|
c556f81241
Track IntrusiveRefCntPtr::get() changes from LLVM r212366
|
11 years ago |
Ben Langmuir
|
f4f9e50a67
Consider module depedencies when checking a preamble in libclang
|
11 years ago |
Ben Langmuir
|
c45bb9c80c
Stop sharing the FileManager in ASTUnit::Parse
|
11 years ago |
Craig Topper
|
d24fb6c947
[C++11] Use 'nullptr'. Frontend edition.
|
11 years ago |
Alp Toker
|
1e0ab3f294
Eliminate ASTContext's DelayInitialization flag
|
11 years ago |
Alp Toker
|
ad0a05027b
Reformat code following Preprocessor constructor updates
|
11 years ago |
Alp Toker
|
e36c959c4d
Factor TargetInfo pointer/DelayInitialization bool pair out of Preprocessor ctor
|
11 years ago |
Nico Weber
|
6f6c038a8f
Remove unused using statement.
|
11 years ago |
David Blaikie
|
266c0c986e
Push unique_ptr ownership of ASTUnits further back into their factories.
|
11 years ago |
Ben Langmuir
|
13e41baf78
Attempt to fix null ASTContext in ASTUnit error path
|
11 years ago |
Ben Langmuir
|
f05ef17032
Don't read CompilerInstance fields that don't exist in ASTUnit
|
11 years ago |
Ben Langmuir
|
426bfa0c45
Honour -ivfsoverlay in ASTUnit to match clang
|
11 years ago |