#
976892fe |
| 28-Jan-2016 |
Yury Gribov <y.gribov@samsung.com> |
Small refactor in isBeforeInTranslationUnit.
Differential Revision: http://reviews.llvm.org/D15804
llvm-svn: 259030
|
Revision tags: llvmorg-3.8.0-rc1 |
|
#
fe2c0ff9 |
| 01-Dec-2015 |
Gabor Horvath <xazax.hun@gmail.com> |
[analyzer] Fix IssueHash generation.
Differential Revision: http://reviews.llvm.org/D14919
Original patch by: Gyorgy Orban!
llvm-svn: 254394
|
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 ...
|
#
919ce235 |
| 24-Nov-2015 |
Richard Smith <richard-llvm@metafoo.co.uk> |
[modules] Add -cc1 flag -fmodules-embed-all-files.
This flag causes all files that were read by the compilation to be embedded into a produced module file. This is useful for distributed build syste
[modules] Add -cc1 flag -fmodules-embed-all-files.
This flag causes all files that were read by the compilation to be embedded into a produced module file. This is useful for distributed build systems that use an include scanning system to determine which files are "needed" by a compilation, and only provide those files to remote compilation workers. Since using a module can require any file that is part of that module (or anything it transitively includes), files that are not found by an include scanner can be required in a regular build using explicit modules. With this flag, only files that are actually referenced by transitively-#included files are required to be present on the build machine.
llvm-svn: 253950
show more ...
|
Revision tags: llvmorg-3.7.1-rc2, llvmorg-3.7.1-rc1 |
|
#
5eeeab7d |
| 12-Nov-2015 |
Vedant Kumar <vsk@apple.com> |
[Basic] Fix DRY violation, just call getLineTable() (NFC)
llvm-svn: 252828
|
#
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 ...
|
#
8b563665 |
| 03-Oct-2015 |
Yaron Keren <yaron.keren@gmail.com> |
Replace double negation of !FileID.isInvalid() with FileID.isValid(). +couple more of double-negated !SourceLocation.isInvalid() unfixed in r249228.
llvm-svn: 249235
|
#
c3096249 |
| 24-Sep-2015 |
Richard Trieu <rtrieu@google.com> |
Improve the printing of ranges when macros are involved.
Trace the ranges through the macro backtrace better. This allows better range highlighting through all levels of the macro bracktrace. Also
Improve the printing of ranges when macros are involved.
Trace the ranges through the macro backtrace better. This allows better range highlighting through all levels of the macro bracktrace. Also some improvements to backtrace printer for omitting different backtraces.
Patch by Zhengkai Wu.
Differential Revision: http://reviews.llvm.org/D12379
llvm-svn: 248454
show more ...
|
Revision tags: llvmorg-3.7.0, llvmorg-3.7.0-rc4, llvmorg-3.7.0-rc3 |
|
#
fb1e7f7d |
| 14-Aug-2015 |
Richard Smith <richard-llvm@metafoo.co.uk> |
[modules] Add an experimental -cc1 feature to embed the contents of an input file in the .pcm files. This allows a smaller set of files to be sent to a remote build worker when building with explicit
[modules] Add an experimental -cc1 feature to embed the contents of an input file in the .pcm files. This allows a smaller set of files to be sent to a remote build worker when building with explicit modules (for instance, module map files need not be sent along with the corresponding precompiled modules).
This doesn't actually make the embedded files visible to header search, so it's not useful as a packaging format for public header files.
llvm-svn: 245028
show more ...
|
Revision tags: studio-1.4 |
|
#
03a06dd1 |
| 13-Aug-2015 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Add SourceManager::dump() to dump the current set of SLocEntries.
llvm-svn: 244852
|
#
78d81ecf |
| 12-Aug-2015 |
Richard Smith <richard-llvm@metafoo.co.uk> |
[modules] If loading a .pcm file would cause us to run out of source locations, attempt to fail more gracefully. (No test; this requires >= 4GB of preprocessed input...)
llvm-svn: 244822
|
Revision tags: llvmorg-3.7.0-rc2, llvmorg-3.7.0-rc1, llvmorg-3.6.2, llvmorg-3.6.2-rc1, llvmorg-3.6.1, llvmorg-3.6.1-rc1 |
|
#
c7dd599e |
| 06-Apr-2015 |
Benjamin Kramer <benny.kra@googlemail.com> |
Prefer uninitialized memory for scratch space.
No functional change intended.
llvm-svn: 234184
|
Revision tags: llvmorg-3.5.2, llvmorg-3.5.2-rc1 |
|
#
1d3b431c |
| 16-Mar-2015 |
Joerg Sonnenberger <joerg@bec.de> |
Global inline assembler blocks are merged before parsing, so no specific location data is available. If pragma handling wants to look up the position, it finds the LLVM buffer and wants to compare it
Global inline assembler blocks are merged before parsing, so no specific location data is available. If pragma handling wants to look up the position, it finds the LLVM buffer and wants to compare it with the special built-in buffer, failing badly. Extend to the special handling of the built-in buffer to also check for the inline asm buffer. Expect only a single asm buffer. Sort it between the built-in buffers and the normal file buffers.
Fixes the assert part of PR 22576.
llvm-svn: 232389
show more ...
|
Revision tags: llvmorg-3.6.0, llvmorg-3.6.0-rc4, llvmorg-3.6.0-rc3, llvmorg-3.6.0-rc2, llvmorg-3.6.0-rc1, llvmorg-3.5.1, llvmorg-3.5.1-rc2, llvmorg-3.5.1-rc1 |
|
#
13156b68 |
| 19-Nov-2014 |
David Blaikie <dblaikie@gmail.com> |
Standardize on StringMap::insert, removing uses of StringMap::GetOrCreateValue.
llvm-svn: 222306
|
#
a885796d |
| 26-Oct-2014 |
Benjamin Kramer <benny.kra@googlemail.com> |
Make VFS and FileManager match the current MemoryBuffer API.
This eliminates converting back and forth between the 3 formats and gives us a more homogeneous interface.
llvm-svn: 220657
|
Revision tags: llvmorg-3.5.0 |
|
#
bf3e3270 |
| 30-Aug-2014 |
Craig Topper <craig.topper@gmail.com> |
Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already.
llvm-svn: 216825
|
#
50a5f97e |
| 29-Aug-2014 |
David Blaikie <dblaikie@gmail.com> |
unique_ptrify SourceManager::createFileID
llvm-svn: 216715
|
Revision tags: llvmorg-3.5.0-rc4 |
|
#
d87f8d76 |
| 27-Aug-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Update for LLVM api change.
llvm-svn: 216585
|
#
6406f7b8 |
| 26-Aug-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Return a std::unique_ptr from getBufferForFile. NFC.
llvm-svn: 216476
|
Revision tags: llvmorg-3.5.0-rc3 |
|
#
e0f6d886 |
| 18-Aug-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use std::unique_ptr to simplify this code a bit.
llvm-svn: 215926
|
Revision tags: llvmorg-3.5.0-rc2, llvmorg-3.5.0-rc1 |
|
#
221285bd |
| 07-Jul-2014 |
Alp Toker <alp@nuanti.com> |
Remove unused sys/stat.h includes
The facility was abstracted to LLVM in r187364.
llvm-svn: 212441
|
#
66cc07b4 |
| 27-Jun-2014 |
David Blaikie <dblaikie@gmail.com> |
Remove 'const' from MemoryBuffers used through the SourceManager
This removes a const_cast added in r211884 that occurred due to an inconsistency in how MemoryBuffers are handled between some parts
Remove 'const' from MemoryBuffers used through the SourceManager
This removes a const_cast added in r211884 that occurred due to an inconsistency in how MemoryBuffers are handled between some parts of clang and LLVM.
MemoryBuffers are immutable and the general convention in the LLVM project is to omit const from immutable types as it's simply redundant/verbose (see llvm::Type, for example). While this change doesn't remove "const" from /every/ MemoryBuffer, it at least makes this chain of ownership/usage consistent.
llvm-svn: 211915
show more ...
|
Revision tags: llvmorg-3.4.2, llvmorg-3.4.2-rc1 |
|
#
f1186c5a |
| 08-May-2014 |
Craig Topper <craig.topper@gmail.com> |
[C++11] Use 'nullptr'.
llvm-svn: 208280
|
Revision tags: llvmorg-3.4.1, llvmorg-3.4.1-rc2 |
|
#
47c48087 |
| 15-Apr-2014 |
Chandler Carruth <chandlerc@gmail.com> |
[Allocator] Make the ContentCache object actually carry the 8-byte alignment constraint rather than using the allocator function's over alignment "feature". This was the only use of the "feature" whi
[Allocator] Make the ContentCache object actually carry the 8-byte alignment constraint rather than using the allocator function's over alignment "feature". This was the only use of the "feature" which I plan to remove next. =] Attaching the alignment to the type seems cleaner and more principled anyways.
llvm-svn: 206324
show more ...
|