| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This will be needed for the next commit that allows to switch the default
C++ library which would otherwise make these tests fail.
llvm-svn: 260661
|
|
|
|
|
|
|
|
|
| |
with a ridiculously high version number.
The host libstdc++ may be horribly broken and we want the fake one to be
picked up. This workaround is lame but I don't see a better way.
llvm-svn: 254446
|
|
|
|
|
|
|
| |
the gcc libraries clang picks for when it was configures with a user defined
path.
llvm-svn: 254306
|
|
|
|
|
|
|
|
|
|
|
|
| |
This provides both a more uniform interface and makes libclang behave like
clang tooling wrt relative paths against argv[0]. This is necessary for
finding paths to a c++ standard library relative to a clang binary given
in a compilation database. It can also be used to find paths relative to
libclang.so if the full path to it is passed in.
Differential Revision: http://reviews.llvm.org/D14695
llvm-svn: 253466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One of the problems libclang tests has running under Windows is memory
allocated in libclang.dll but being freed in the test executable, possibly
by a different memory manager. This patch exposes a new export function,
clang_free(), used to free any allocated memory with the same libclang.dll
memory manager that allocated the memory.
http://reviews.llvm.org/D10949
Reviewed by Reid Kleckner, Douglas Gregor.
llvm-svn: 241789
|
|
|
|
| |
llvm-svn: 240353
|
|
|
|
|
|
|
|
|
|
|
|
| |
The patch is generated using this command:
$ tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \
-checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \
work/llvm/tools/clang
To reduce churn, not touching namespaces spanning less than 10 lines.
llvm-svn: 240270
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The patch is generated using clang-tidy misc-use-override check.
This command was used:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \
-checks='-*,misc-use-override' -header-filter='llvm|clang' -j=32 -fix
Reviewers: dblaikie
Reviewed By: dblaikie
Subscribers: klimek, cfe-commits
Differential Revision: http://reviews.llvm.org/D8926
llvm-svn: 234678
|
|
|
|
|
|
|
| |
No functionality changed, this is a purely mechanical cleanup to ensure
the #include order remains consistent across the project.
llvm-svn: 225975
|
|
|
|
|
|
|
| |
In r209332 I accidentally broke generation of empty VFS maps. This
fixes the issue and adds a test.
llvm-svn: 213028
|
|
|
|
| |
llvm-svn: 212467
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add module dependencies (header files, module map files) to the list of
files to check when deciding whether to rebuild a preamble. That fixes
using preambles with module imports so long as they are in
non-overridden files.
My intent is to use to unify the existing dependency collectors to the
new “DependencyCollectory” interface from this commit, starting with the
DependencyFileGenerator.
llvm-svn: 212060
|
|
|
|
| |
llvm-svn: 211997
|
|
|
|
|
|
| |
Adapted from a reproducer by Dan Schmidt, thanks!
llvm-svn: 211910
|
|
|
|
| |
llvm-svn: 210423
|
|
|
|
|
|
|
|
|
|
|
| |
There are a couple of issues with writing VFS maps that are awkward to
fix within the current mutually recursive approach. Instead, replace
the algorithm with an iterative version that uses an explicit stack of
directories.
Includes tests for cases the old approach was tripping on.
llvm-svn: 209332
|
|
|
|
| |
llvm-svn: 209257
|
|
|
|
|
|
|
|
| |
Checking if a path starts with another path isn't sufficient for
determining if one is contained within the heirarchy of the other.
We need to ensure that the substring ends at a directory boundary.
llvm-svn: 209250
|
|
|
|
|
|
| |
I missed one in r206443.
llvm-svn: 208941
|
|
|
|
| |
llvm-svn: 207137
|
|
|
|
|
|
|
|
| |
The YAMLParser has its own escaped string representation, and does not
handle octal escape sequences. When writing the virtual file system to a
YAML file, use yaml::escape().
llvm-svn: 206443
|
|
|
|
|
|
|
|
|
|
| |
exposes the VFS option
to set the case-sensitivity for lookups.
rdar://16374696
llvm-svn: 204303
|
|
|
|
|
|
|
|
| |
file for a user framework.
rdar://16092858
llvm-svn: 202681
|
|
|
|
|
|
|
|
| |
malloc'ed buffer.
Returning CXString is not appropriate if we want to switch to a non-string format buffer.
llvm-svn: 202675
|
|
|
|
|
|
|
|
|
|
| |
file overlay description.
The current API only supports adding 'virtual file path' -> 'real file path' mappings.
rdar://15986708
llvm-svn: 202105
|
|
|
|
| |
llvm-svn: 201657
|
|
|
|
| |
llvm-svn: 201579
|
|
|
|
|
|
|
|
| |
r201249,"
Reverting commit (201346) for now, because it is breaking our internal builds.
llvm-svn: 201373
|
|
pointed out by Daniel Jasper in r201329
llvm-svn: 201346
|