History log of /llvm-project/clang/lib/Basic/SourceManager.cpp (Results 326 – 350 of 397)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5e738284 14-Nov-2009 Benjamin Kramer <benny.kra@googlemail.com>

Move DISABLE_INLINE to the front of the decl so MSVC can parse it. Patch by Amine Khaldi!

llvm-svn: 88797


# 3deabca9 03-Nov-2009 Chris Lattner <sabre@nondot.org>

pr5371 likely has nothing to do with this.

llvm-svn: 85862


# 06231460 02-Nov-2009 Edward O'Callaghan <eocallaghan@auroraux.org>

Add note to FIXME about PR5371.

llvm-svn: 85825


Revision tags: llvmorg-2.6.0
# ea9b03e6 22-Sep-2009 Douglas Gregor <dgregor@apple.com>

Replace the -code-completion-dump option with

-code-completion-at=filename:line:column

which performs code completion at the specified location by truncating
the file at that position and enabli

Replace the -code-completion-dump option with

-code-completion-at=filename:line:column

which performs code completion at the specified location by truncating
the file at that position and enabling code completion. This approach
makes it possible to run multiple tests from a single test file, and
gives a more natural command-line interface.

llvm-svn: 82571

show more ...


# 11289f42 09-Sep-2009 Mike Stump <mrs@apple.com>

Remove tabs, and whitespace cleanups.

llvm-svn: 81346


# 3441b4f7 23-Aug-2009 Chris Lattner <sabre@nondot.org>

API changes to match llvm ToT.

llvm-svn: 79868


# 89b422c1 23-Aug-2009 Benjamin Kramer <benny.kra@googlemail.com>

Replace cerr with errs().

llvm-svn: 79854


# 0e5ecbda 25-Jun-2009 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Fix column checking for SourceManager::getLocation().

llvm-svn: 74194


# 349db7bb 23-Jun-2009 Daniel Dunbar <daniel@zuster.org>

Fix warning when building w/o asserts.

llvm-svn: 74020


# 33661d9f 23-Jun-2009 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Introduce SourceManager::ísBeforeInTranslationUnit() which can compare 2 source locations and determine which one comes before the other, relative to the translation unit.

llvm-svn: 74014


# 0152c6cb 23-Jun-2009 Argyrios Kyrtzidis <akyrtzi@gmail.com>

In SourceManager::createFileID missed setting ContentCache's FirstFID in another place.

llvm-svn: 73931


# 69c2e063 20-Jun-2009 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Slight modification to column checking inside SourceManager::getLocation().

llvm-svn: 73826


# 88f663c0 20-Jun-2009 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Introduce SourceManager::getLocation() to get a source location out of a "file:line:column" triplet.

llvm-svn: 73823


# aaa86d07 07-Jun-2009 Zhongxing Xu <xuzhongxing@gmail.com>

Remove dead code: 'NewEntry' is not used.

llvm-svn: 73027


# 70f924df 18-May-2009 Daniel Dunbar <daniel@zuster.org>

Avoid potential out-of-bounds access in SourceManager::getLineNumber.
- Chris, please see added FIXMEs.

llvm-svn: 72019


# 0bc12935 27-Apr-2009 Douglas Gregor <dgregor@apple.com>

Be more careful in our teardown of the PCHReader after deciding to
ignore a PCH file.

llvm-svn: 70251


# 258ae54a 27-Apr-2009 Douglas Gregor <dgregor@apple.com>

Load most of the source manager's information lazily from the PCH
file. In particular, only eagerly load source location entries for
files and for the predefines buffer. Other buffers and
macro-insta

Load most of the source manager's information lazily from the PCH
file. In particular, only eagerly load source location entries for
files and for the predefines buffer. Other buffers and
macro-instantiation source location entries are loaded lazily.

With the Cocoa-prefixed "Hello, World", we only load 815/26555 source
location entities. This halves the amount of user time we spend in
this "Hello, World" program with -fsyntax-only (down to .007s).

This optimization is part 1 of 2 for the source manager. This
eliminates most of the user time in loading a PCH file. We still spend
too much time initialize File structures (especially in the calls to
stat), so we need to either make the loading of source location
entries for files lazy or import the stat cache from the PTH
implementation.

llvm-svn: 70196

show more ...


# 48db39dc 22-Apr-2009 Douglas Gregor <dgregor@apple.com>

Remove the serialization code that predates precompiled
headers. Future approaches to (de-)serializing ASTs will be based on
the PCH infrastructure.

llvm-svn: 69828


# 4c7626e7 13-Apr-2009 Douglas Gregor <dgregor@apple.com>

Include the SourceManager's line table in the PCH file. We can now
properly cope with #line directives in PCH files.

llvm-svn: 68963


# a07ebc5b 13-Apr-2009 Douglas Gregor <dgregor@apple.com>

Factor the internals of SourceManager (specially, LineTableInfo) into a separate Internals header. No functionality change

llvm-svn: 68960


# 17bbaed1 02-Apr-2009 Douglas Gregor <dgregor@apple.com>

Resynchronize Decl/VarDecl serialization code with the structures

llvm-svn: 68346


# 1ac3c929 11-Mar-2009 Chris Lattner <sabre@nondot.org>

Clear all the linetable state in clear(), fixing problems
with "clang t.i s.i" where the .i files contain line markers.
rdar://6667812

llvm-svn: 66619


Revision tags: llvmorg-2.5.0
# a6f037ce 17-Feb-2009 Chris Lattner <sabre@nondot.org>

add an accessor.

llvm-svn: 64760


# 8ad52d50 17-Feb-2009 Chris Lattner <sabre@nondot.org>

add an accessor.

llvm-svn: 64758


# f52c0b26 15-Feb-2009 Chris Lattner <sabre@nondot.org>

add a new SourceManager::getInstantiationRange helper method.

llvm-svn: 64606


1...<<111213141516