History log of /llvm-project/clang/unittests/libclang/LibclangTest.cpp (Results 51 – 65 of 65)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f3050d24 27-Jun-2014 Ben Langmuir <blangmuir@apple.com>

Add reparse test for libclang

Adapted from a reproducer by Dan Schmidt, thanks!

llvm-svn: 211910


# 416fa34b 08-Jun-2014 Craig Topper <craig.topper@gmail.com>

[C++11] Use 'nullptr'. Unittests edition.

llvm-svn: 210423


# 44fa4503 21-May-2014 Justin Bogner <mail@justinbogner.com>

VirtualFileSystem: Fix a few directory traversal bugs in VFSWriter

There are a couple of issues with writing VFS maps that are awkward to
fix within the current mutually recursive approach. Instead,

VirtualFileSystem: Fix a few directory traversal bugs in VFSWriter

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

show more ...


# 5719614b 20-May-2014 Justin Bogner <mail@justinbogner.com>

libclang: Give each VirtualFileOverlay unit test its own name

llvm-svn: 209257


# 1c078f2b 20-May-2014 Justin Bogner <mail@justinbogner.com>

VirtualFileSystem: Fix false positives in YAMLVFSWriter::containedIn

Checking if a path starts with another path isn't sufficient for
determining if one is contained within the heirarchy of the othe

VirtualFileSystem: Fix false positives in YAMLVFSWriter::containedIn

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

show more ...


Revision tags: llvmorg-3.4.2, llvmorg-3.4.2-rc1
# 5bf828dd 16-May-2014 Ben Langmuir <blangmuir@apple.com>

Switch another write_escaped to yaml::escape

I missed one in r206443.

llvm-svn: 208941


Revision tags: llvmorg-3.4.1, llvmorg-3.4.1-rc2
# 655af097 24-Apr-2014 Nico Weber <nicolasweber@gmx.de>

Fix a tiny test-only leak, found by LSan.

llvm-svn: 207137


# a56071c5 17-Apr-2014 Ben Langmuir <blangmuir@apple.com>

When writing YAML in libclang, use yaml::escape instead of write_escaped

The YAMLParser has its own escaped string representation, and does not
handle octal escape sequences. When writing the virtua

When writing YAML in libclang, use yaml::escape instead of write_escaped

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

show more ...


Revision tags: llvmorg-3.4.1-rc1
# a9ab4d46 20-Mar-2014 Argyrios Kyrtzidis <akyrtzi@gmail.com>

[libclang] Introduce clang_VirtualFileOverlay_setCaseSensitivity that exposes the VFS option
to set the case-sensitivity for lookups.

rdar://16374696

llvm-svn: 204303


# d502a10c 03-Mar-2014 Argyrios Kyrtzidis <akyrtzi@gmail.com>

[libclang] Introduce APIs that assist in constructing a simple module.map file for a user framework.

rdar://16092858

llvm-svn: 202681


# 74c96c0c 03-Mar-2014 Argyrios Kyrtzidis <akyrtzi@gmail.com>

[libclang] Change clang_VirtualFileOverlay_writeToBuffer to return a malloc'ed buffer.

Returning CXString is not appropriate if we want to switch to a non-string format buffer.

llvm-svn: 202675


# 0b9682ef 25-Feb-2014 Argyrios Kyrtzidis <akyrtzi@gmail.com>

[libclang] Introduce libclang APIs for creating a buffer with a JSON virtual file overlay description.

The current API only supports adding 'virtual file path' -> 'real file path' mappings.

rdar://

[libclang] Introduce libclang APIs for creating a buffer with a JSON virtual file overlay description.

The current API only supports adding 'virtual file path' -> 'real file path' mappings.

rdar://15986708

llvm-svn: 202105

show more ...


# 8850cdad 19-Feb-2014 Dmitri Gribenko <gribozavr@gmail.com>

libclang: ensure clang_createTranslationUnit2 always initializes *TU

llvm-svn: 201657


# f85b9292 18-Feb-2014 Dmitri Gribenko <gribozavr@gmail.com>

Add files that I forgot to svn add in 201578.

llvm-svn: 201579


# fbe56727 13-Feb-2014 Dmitri Gribenko <gribozavr@gmail.com>

libclang: fix a bug in processing invalid arguments, introduced in r201249,
pointed out by Daniel Jasper in r201329

llvm-svn: 201346


123