History log of /llvm-project/clang/lib/Frontend/CompilerInstance.cpp (Results 601 – 625 of 684)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f6efe58d 10-Jan-2011 Michael J. Spencer <bigcheesegs@gmail.com>

Replace all uses of PathV1::exists with PathV2::fs::exists.

llvm-svn: 123150


# d9da7a1f 16-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com>

MemoryBuffer API update.

llvm-svn: 121956


# f25faaaf 09-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com>

Use error_code instead of std::string* for MemoryBuffer.

llvm-svn: 121378


# 936a5b44 30-Nov-2010 Douglas Gregor <dgregor@apple.com>

When loading a precompiled preamble, use the file ID of the
precompiled preamble as the "main" source file's file ID within the
source manager. This makes compiling with a precompiled preamble
produc

When loading a precompiled preamble, use the file ID of the
precompiled preamble as the "main" source file's file ID within the
source manager. This makes compiling with a precompiled preamble
produce the same source locations as when compiling without the
precompiled preamble; prior to this change, we ended up with different
file IDs for source locations within the precompiled preamble
vs. those after the precompiled preamble, even for entities (e.g.,
preprocessing entities) in the same file.

llvm-svn: 120390

show more ...


# 8aaf4995 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com>

Merge System into Support.

llvm-svn: 120297


# 7219a5db 23-Nov-2010 Chris Lattner <sabre@nondot.org>

don't allow remapping PTH file paths with -fworking-directory, the
client should just pass in absolute paths.

llvm-svn: 120012


# 5159f616 23-Nov-2010 Chris Lattner <sabre@nondot.org>

now the FileManager has a FileSystemOpts ivar, stop threading
FileSystemOpts through a ton of apis, simplifying a lot of code.
This also fixes a latent bug in ASTUnit where it would invoke
methods on

now the FileManager has a FileSystemOpts ivar, stop threading
FileSystemOpts through a ton of apis, simplifying a lot of code.
This also fixes a latent bug in ASTUnit where it would invoke
methods on FileManager without creating one in some code paths
in cindextext.

llvm-svn: 120010

show more ...


# 3f5a9efb 23-Nov-2010 Chris Lattner <sabre@nondot.org>

give FileManager a 'FileSystemOptions' ivar, which will be used
to simplify a bunch of code in it. It should ultimately get inlined
into FileManager.

llvm-svn: 120007


# bc467933 18-Nov-2010 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Remove the hack where, to get the return status, we had special case for VerifyDiagnosticsClient
and just check the number of errors from the DiagnosticClient.

llvm-svn: 119736


# c79346a5 18-Nov-2010 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Since multiple diagnostics can share one diagnostic client, have the client keeping track
of the total number of warnings/errors reported.

llvm-svn: 119731


# d0040648 18-Nov-2010 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Refactoring of Diagnostic class.

-Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class.
-DiagnosticIDs can be shared among multiple Diagnostics for

Refactoring of Diagnostic class.

-Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class.
-DiagnosticIDs can be shared among multiple Diagnostics for multiple translation units.
-The rest of the state in Diagnostic object is considered related and tied to one translation unit.
-Have Diagnostic point to the SourceManager that is related with. Diagnostic can now accept just a
SourceLocation instead of a FullSourceLoc.
-Reflect the changes to various interfaces.

llvm-svn: 119730

show more ...


# 44c6ee77 11-Nov-2010 Douglas Gregor <dgregor@apple.com>

Improve ASTUnit's capture of diagnostics so that the
diagnostic-capturing client lives as long as the ASTUnit itself
does. Otherwise, we can end up with crashes when we get a diagnostic
outside of pa

Improve ASTUnit's capture of diagnostics so that the
diagnostic-capturing client lives as long as the ASTUnit itself
does. Otherwise, we can end up with crashes when we get a diagnostic
outside of parsing/code completion. The circumstances under which this
happen are really hard to reproduce, because a file needs to change
from under us.

llvm-svn: 118751

show more ...


# 71731d6b 03-Nov-2010 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Implement -working-directory.

When -working-directory is passed in command line, file paths are resolved relative to the specified directory.
This helps both when using libclang (where we can't requ

Implement -working-directory.

When -working-directory is passed in command line, file paths are resolved relative to the specified directory.
This helps both when using libclang (where we can't require the user to actually change the working directory)
and to help reproduce test cases when the reproduction work comes along.

--FileSystemOptions is introduced which controls how file system operations are performed (currently it just contains
the working directory value if set).
--FileSystemOptions are passed around to various interfaces that perform file operations.
--Opening & reading the content of files should be done only through FileManager. This is useful in general since
file operations will be abstracted in the future for the reproduction mechanism.

FileSystemOptions is independent of FileManager so that we can have multiple translation units sharing the same
FileManager but with different FileSystemOptions.

Addresses rdar://8583824.

llvm-svn: 118203

show more ...


# 2f76cd75 26-Oct-2010 Dan Gohman <gohman@apple.com>

Add support for code completion on stdin.

llvm-svn: 117414


# 52765215 26-Oct-2010 Dan Gohman <gohman@apple.com>

Simplify this code: don't check for the same error two
different ways. Check once, and use an assert to handle
consistency checking.

llvm-svn: 117397


# b9ab0ed3 11-Oct-2010 Douglas Gregor <dgregor@apple.com>

Eliminate the (de-)serialization of code completion results, now that
libclang does not support out-of-process code completion.

llvm-svn: 116253


# 4e0f15a4 11-Oct-2010 Douglas Gregor <dgregor@apple.com>

Eliminate -fdiagnostics-binary and all of the infrastructure for
emitting diagnostics in a binary form to be consumed by libclang,
since libclang no longer does any of its work out-of-process, making

Eliminate -fdiagnostics-binary and all of the infrastructure for
emitting diagnostics in a binary form to be consumed by libclang,
since libclang no longer does any of its work out-of-process, making
this code dead. Besides, this stuff never worked at 100% anyway.

llvm-svn: 116250

show more ...


# 89c31490 11-Oct-2010 Axel Naumann <Axel.Naumann@cern.ch>

Tighten up constness of argv parameters to allow for string literals as argumants and to reflect actual (non-modifying) use.

llvm-svn: 116199


Revision tags: llvmorg-2.8.0
# 009e7f20 05-Oct-2010 Sebastian Redl <sebastian.redl@getdesigned.at>

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.

llvm-svn: 115626


Revision tags: llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2
# d0599970 17-Sep-2010 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Use a temporary file for output which gets renamed after all the writing is finished.

This mainly prevents failures and/or crashes when multiple processes try to read/write the same PCH file. (rdar:

Use a temporary file for output which gets renamed after all the writing is finished.

This mainly prevents failures and/or crashes when multiple processes try to read/write the same PCH file. (rdar://8392711&8294781); suggestion & review by Daniel!

llvm-svn: 114187

show more ...


Revision tags: llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0
# 8b4c3207 27-Aug-2010 Dan Gohman <gohman@apple.com>

createMainFileID doesn't need its IncludePos argument, since
the main file isn't an included file, and the IncludePos is
always SourceLocation().

llvm-svn: 112269


# f5b13467 18-Aug-2010 Sebastian Redl <sebastian.redl@getdesigned.at>

Rename the ASTReader header files.

llvm-svn: 111474


# 3e31c724 18-Aug-2010 Sebastian Redl <sebastian.redl@getdesigned.at>

Rename various classes from PCH to AST.

llvm-svn: 111471


# 2c499f65 18-Aug-2010 Sebastian Redl <sebastian.redl@getdesigned.at>

Rename PCHReader to ASTReader.

llvm-svn: 111467


# 2dd19f1d 18-Aug-2010 Douglas Gregor <dgregor@apple.com>

Simplify the ownership model for DiagnosticClients, which was really
convoluted and a bit leaky. Now, the Diagnostic object owns its
DiagnosticClient.

llvm-svn: 111437


1...<<2122232425262728