History log of /llvm-project/clang/lib/Basic/FileManager.cpp (Results 101 – 125 of 245)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-3.9.0, llvmorg-3.9.0-rc3, llvmorg-3.9.0-rc2
# 35b79c24 13-Aug-2016 Eugene Zelenko <eugene.zelenko@gmail.com>

Fix build broken after llvm/ADT/DenseMap.h replacement of climits with limits.

llvm-svn: 278586


Revision tags: llvmorg-3.9.0-rc1
# 9670f847 18-Jul-2016 Mehdi Amini <mehdi.amini@apple.com>

[NFC] Header cleanup

Summary: Removed unused headers, replaced some headers with forward class declarations

Patch by: Eugene <claprix@yandex.ru>

Differential Revision: https://reviews.llvm.org/D20

[NFC] Header cleanup

Summary: Removed unused headers, replaced some headers with forward class declarations

Patch by: Eugene <claprix@yandex.ru>

Differential Revision: https://reviews.llvm.org/D20100

llvm-svn: 275882

show more ...


# f42103ce 13-Jun-2016 Taewook Oh <twoh@fb.com>

Use the name of the file on disk to issue a new diagnostic about non-portable #include and #import paths.

Differential Revision: http://reviews.llvm.org/D19843
Corresponding LLVM change: http://revi

Use the name of the file on disk to issue a new diagnostic about non-portable #include and #import paths.

Differential Revision: http://reviews.llvm.org/D19843
Corresponding LLVM change: http://reviews.llvm.org/D19842

Re-commit of r272562 after addressing clang-x86-win2008-selfhost failure.

llvm-svn: 272584

show more ...


# cb07d651 13-Jun-2016 Taewook Oh <twoh@fb.com>

Revert r272562 for build bot failure (clang-x86-win2008-selfhost)

llvm-svn: 272572


# e8533670 13-Jun-2016 Taewook Oh <twoh@fb.com>

Use the name of the file on disk to issue a new diagnostic about non-portable #include and #import paths.

Differential Revision: http://reviews.llvm.org/D19843
Corresponding LLVM change: http://revi

Use the name of the file on disk to issue a new diagnostic about non-portable #include and #import paths.

Differential Revision: http://reviews.llvm.org/D19843
Corresponding LLVM change: http://reviews.llvm.org/D19842

Re-commit after addressing issues with of generating too many warnings for Windows and asan test failures.

Patch by Eric Niebler

llvm-svn: 272562

show more ...


Revision tags: llvmorg-3.8.1, llvmorg-3.8.1-rc1
# 1c1101bb 04-Jun-2016 Taewook Oh <twoh@fb.com>

Revert commit r271708

llvm-svn: 271761


# fc5d13d9 03-Jun-2016 Taewook Oh <twoh@fb.com>

Use the name of the file on disk to issue a new diagnostic about non-portable #include and #import paths.

Differential Revision: http://reviews.llvm.org/D19843
Corresponding LLVM change: http://revi

Use the name of the file on disk to issue a new diagnostic about non-portable #include and #import paths.

Differential Revision: http://reviews.llvm.org/D19843
Corresponding LLVM change: http://reviews.llvm.org/D19842

Patch by Eric Niebler

llvm-svn: 271708

show more ...


# 1834dc75 12-Apr-2016 David Majnemer <david.majnemer@gmail.com>

[FileManager] Don't crash if reading from stdin and stat(".") fails

addAncestorsAsVirtualDirs("<stdin>") quickly returns without doing work
because "<stdin>" has no parent_path. This violates the e

[FileManager] Don't crash if reading from stdin and stat(".") fails

addAncestorsAsVirtualDirs("<stdin>") quickly returns without doing work
because "<stdin>" has no parent_path. This violates the expectation
that a subsequent call to getDirectoryFromFile("<stdin>") would succeed.
Instead, it fails because it uses the "." if the file has no path
component.

Fix this by keeping the behavior between addAncestorsAsVirtualDirs and
getDirectoryFromFile symmetric.

llvm-svn: 266089

show more ...


Revision tags: llvmorg-3.8.0, llvmorg-3.8.0-rc3, llvmorg-3.8.0-rc2
# 6277b185 01-Feb-2016 Benjamin Kramer <benny.kra@googlemail.com>

Remove the egregious PCHContainer layering hack that doesn't seem to be necessary anymore.

llvm-svn: 259355


Revision tags: llvmorg-3.8.0-rc1
# d2725a31 09-Dec-2015 David Blaikie <dblaikie@gmail.com>

unique_ptrify some collections in FileManager

llvm-svn: 255129


# 13e6f311 09-Dec-2015 Vedant Kumar <vsk@apple.com>

[Basic] Rangify two for loops. NFC.

llvm-svn: 255091


Revision tags: llvmorg-3.7.1
# a8cfffa3 26-Nov-2015 Richard Smith <richard-llvm@metafoo.co.uk>

[modules] Refactor handling of -fmodules-embed-*. Track this properly rather
than reusing the "overridden buffer" mechanism. This will allow us to make
embedded files and overridden files behave diff

[modules] Refactor handling of -fmodules-embed-*. Track this properly rather
than reusing the "overridden buffer" mechanism. This will allow us to make
embedded files and overridden files behave differently in future.

llvm-svn: 254121

show more ...


Revision tags: llvmorg-3.7.1-rc2, llvmorg-3.7.1-rc1
# aeb9dd92 09-Nov-2015 Mike Aizatsky <aizatsky@chromium.org>

Moving FileManager::removeDotPaths to llvm::sys::path::remove_dots

Differential Revision: http://reviews.llvm.org/D14394

llvm-svn: 252501


# 637d1e66 20-Oct-2015 Angel Garcia Gomez <angelgarcia@google.com>

Roll-back r250822.

Summary: It breaks the build for the ASTMatchers

Subscribers: klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D13893

llvm-svn: 250827


# b5250d34 20-Oct-2015 Angel Garcia Gomez <angelgarcia@google.com>

Apply modernize-use-default to clang.

Summary: Replace empty bodies of default constructors and destructors with '= default'.

Reviewers: bkramer, klimek

Subscribers: klimek, alexfh, cfe-commits

D

Apply modernize-use-default to clang.

Summary: Replace empty bodies of default constructors and destructors with '= default'.

Reviewers: bkramer, klimek

Subscribers: klimek, alexfh, cfe-commits

Differential Revision: http://reviews.llvm.org/D13890

llvm-svn: 250822

show more ...


Revision tags: llvmorg-3.7.0, llvmorg-3.7.0-rc4, llvmorg-3.7.0-rc3, studio-1.4
# da4690ae 04-Aug-2015 Benjamin Kramer <benny.kra@googlemail.com>

[FileManager] Use StringRef::copy to store canonical paths.

No functional change intended.

llvm-svn: 243970


# c56419ed 31-Jul-2015 Argyrios Kyrtzidis <akyrtzi@gmail.com>

[modules] Fix issue where building a module from a relative path when -working-directory option is set, results in error.

The error was "module '<name>' was built in directory '<path>' but now resid

[modules] Fix issue where building a module from a relative path when -working-directory option is set, results in error.

The error was "module '<name>' was built in directory '<path>' but now resides in directory '<path>'
rdar://21330027

llvm-svn: 243718

show more ...


Revision tags: llvmorg-3.7.0-rc2
# de381665 30-Jul-2015 Sean Silva <chisophugis@gmail.com>

Add a comment explaining differing Windows behavior.

llvm-svn: 243625


# 3e36e507 30-Jul-2015 Sean Silva <chisophugis@gmail.com>

Attempt to make clang-x64-ninja-win7 happy.

It looks like we were somehow relying somewhere on removing 'foo/./bar'
but *not* 'foo/../foo/bar'. Currently investigating.

llvm-svn: 243600


# b963dedb 30-Jul-2015 Sean Silva <chisophugis@gmail.com>

Avoid failure to canonicalize '..'.

Also fix completely broken and untested code which was hiding the
primary bug. The !LLVM_ON_UNIX branch of the ifdef was actually a no-op.

I ran into this in the

Avoid failure to canonicalize '..'.

Also fix completely broken and untested code which was hiding the
primary bug. The !LLVM_ON_UNIX branch of the ifdef was actually a no-op.

I ran into this in the wild. It was causing failures in our SDK build.

Ideally we'd have a perfect llvm::sys::fs::canonical, but at least this
is a step in the right direction, and fixes an obviously broken case.
In some sense the test case I've added here is an integration test. We
should have these routines thoroughly unit tested in llvm::sys::fs.

llvm-svn: 243597

show more ...


# fb2398d0 17-Jul-2015 Adrian Prantl <aprantl@apple.com>

Make the clang module container format selectable from the command line.
- introduces a new cc1 option -fmodule-format=[raw,obj]
with 'raw' being the default
- supports arbitrary module container f

Make the clang module container format selectable from the command line.
- introduces a new cc1 option -fmodule-format=[raw,obj]
with 'raw' being the default
- supports arbitrary module container formats that libclang is agnostic to
- adds the format to the module hash to avoid collisions
- splits the old PCHContainerOperations into PCHContainerWriter and
a PCHContainerReader.

Thanks to Richard Smith for reviewing this patch!

llvm-svn: 242499

show more ...


Revision tags: llvmorg-3.7.0-rc1
# 075bf567 09-Jul-2015 Adrian Prantl <aprantl@apple.com>

Revert r241770 and add Basic to the dependencies of clang-check instead.
PR24067.

llvm-svn: 241782


# 63350578 09-Jul-2015 Adrian Prantl <aprantl@apple.com>

Move the definition of ~PCHContainerOperations from Basic into Frontend.

Fixes PR24067.

llvm-svn: 241770


# bc068586 08-Jul-2015 Adrian Prantl <aprantl@apple.com>

Revert "Revert r241620 and follow-up commits" and move the initialization
of the llvm targets from clang/CodeGen into ClangCheck.cpp and CIndex.cpp.

llvm-svn: 241653


# 142ec397 07-Jul-2015 Adrian Prantl <aprantl@apple.com>

Revert r241620 and follow-up commits while investigating linux buildbot failures.

llvm-svn: 241642


12345678910