History log of /llvm-project/clang/unittests/Basic/SourceManagerTest.cpp (Results 51 – 70 of 70)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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


# 125df058 01-Feb-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com>

For ModuleLoader::makeModuleVisible() also pass the source location where the
module import occurred.

llvm-svn: 174191


# e73d2a9f 12-Jan-2013 NAKAMURA Takumi <geek4civic@gmail.com>

clang/unittests: Fixup corresponding to r172290.

llvm-svn: 172295


Revision tags: llvmorg-3.2.0, llvmorg-3.2.0-rc3
# 320d9666 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com>

Sort the #include lines for unittests/...

I've tried to place sensible headers at the top as main-module headers.

llvm-svn: 169243


Revision tags: llvmorg-3.2.0-rc2
# 8c058937 30-Nov-2012 Douglas Gregor <dgregor@apple.com>

Fix unit tests for ModuleLoader change in r168961.

llvm-svn: 168962


# fe40a350 16-Nov-2012 NAKAMURA Takumi <geek4civic@gmail.com>

clang/unittests: Fixup corresponding to Doug's r168136.

llvm-svn: 168137


Revision tags: llvmorg-3.2.0-rc1
# 1452ff15 24-Oct-2012 Douglas Gregor <dgregor@apple.com>

Teach the preprocessor to hold onto the preprocessor options.

llvm-svn: 166599


# 40ba1a01 24-Oct-2012 Douglas Gregor <dgregor@apple.com>

Update unit tests for HeaderSearch change

llvm-svn: 166584


# edf8e387 23-Oct-2012 Douglas Gregor <dgregor@apple.com>

More unit-test fixes

llvm-svn: 166511


# d8cfd399 23-Oct-2012 Douglas Gregor <dgregor@apple.com>

Fixup unit tests for DiagnosticOptions change

llvm-svn: 166509


# 44d6361e 17-Oct-2012 Douglas Gregor <dgregor@apple.com>

Fix the handling of target options in our unit tests.

llvm-svn: 166079


# 8d63d5b8 19-Jun-2012 Jordan Rose <jordan_rose@apple.com>

Fix the location of the fixit for -Wnewline-eof.

It turns out SourceManager treating the "one-past-the-end" location as invalid,
but then failing to set the invalid flag properly.

llvm-svn: 158699


Revision tags: llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1
# a956450e 27-Mar-2012 Argyrios Kyrtzidis <akyrtzi@gmail.com>

[preprocessor] Handle correctly inclusion directives that have macro expansions, e.g
"#include MACRO(STUFF)".

-As an inclusion position for the included file, use the file location of the file where

[preprocessor] Handle correctly inclusion directives that have macro expansions, e.g
"#include MACRO(STUFF)".

-As an inclusion position for the included file, use the file location of the file where it
was included but *after* the macro expansions. We want the macro expansions to be considered
as before-in-translation-unit for everything in the included file.

-In the preprocessing record take into account that only inclusion directives can be encountered
as "out-of-order" (by comparing the start of the range which for inclusions is the hash location)
and use binary search if there is an extreme number of macro expansions in the include directive.

Fixes rdar://11111779

llvm-svn: 153527

show more ...


# c95d8192 20-Feb-2012 Dylan Noblesmith <nobled@dreamwidth.org>

Basic: import IntrusiveRefCntPtr<> into clang namespace

The class name is long enough without the llvm:: added.
Also bring in RefCountedBase and RefCountedBaseVPTR.

llvm-svn: 150958


# f1a13f29 13-Feb-2012 Dylan Noblesmith <nobled@dreamwidth.org>

drop more llvm:: prefixes on SmallString<>

More cleanup after r149799.

llvm-svn: 150380


# 4903802f 04-Feb-2012 Benjamin Kramer <benny.kra@googlemail.com>

Move a method from IdentifierTable.h out of line and remove the SmallString include.

Fix all the transitive include users.

llvm-svn: 149783


# 89929282 30-Jan-2012 Douglas Gregor <dgregor@apple.com>

Thread a TargetInfo through to the module map; we'll need it for
target-specific module requirements.

llvm-svn: 149224


# 1154e75c 31-Dec-2011 NAKAMURA Takumi <geek4civic@gmail.com>

clang/unittests/Basic/SourceManagerTest.cpp: Fixup corresponding to r147387.

llvm-svn: 147388


# e841c901 21-Dec-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Fix bugs in SourceManager::computeMacroArgsCache() and add a unit test for it.

llvm-svn: 147057


# 2403797e 21-Dec-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

For SourceManager::isBeforeInTranslationUnit(), have it consider macro arg expanded
token locations as coming before the closing ')' of a function macro expansion.

Include a unit test for SourceMana

For SourceManager::isBeforeInTranslationUnit(), have it consider macro arg expanded
token locations as coming before the closing ')' of a function macro expansion.

Include a unit test for SourceManager.

llvm-svn: 147056

show more ...


123