aboutsummaryrefslogtreecommitdiff
path: root/clang/tools/libclang/BuildSystem.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-11-09Replace TimeValue with TimePoint in BuildSystem.cpp. NFC.Pavel Labath1-2/+2
llvm-svn: 286357
2015-07-09Add clang_free to libclang to free memory allocated in libclang.Yaron Keren1-0/+4
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
2014-05-20VirtualFileSystem: Add YAMLVFSWriter to generate VFS mapping filesJustin Bogner1-141/+9
This moves the logic to write a JSON VFS mapping from the C api into VirtualFileSystem, so that we can use it internally. No functional change. llvm-svn: 209241
2014-05-16Switch another write_escaped to yaml::escapeBen Langmuir1-2/+2
I missed one in r206443. llvm-svn: 208941
2014-04-17When writing YAML in libclang, use yaml::escape instead of write_escapedBen Langmuir1-4/+4
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
2014-03-20[libclang] Introduce clang_VirtualFileOverlay_setCaseSensitivity that ↵Argyrios Kyrtzidis1-4/+26
exposes the VFS option to set the case-sensitivity for lookups. rdar://16374696 llvm-svn: 204303
2014-03-04[cleanup] Re-sort includes with llvm/utils/sort_includes.py and fixChandler Carruth1-1/+1
a missing include from CLog.h. CLog.h referenced most of the core libclang types but never directly included Index.h that provides them. Previously it got lucky and other headers were always included first but with the sorting it ended up first in one case and stopped compiling. Adding the Index.h include fixes it right up. llvm-svn: 202810
2014-03-03[libclang] Introduce APIs that assist in constructing a simple module.map ↵Argyrios Kyrtzidis1-0/+58
file for a user framework. rdar://16092858 llvm-svn: 202681
2014-03-03[libclang] Change clang_VirtualFileOverlay_writeToBuffer to return a ↵Argyrios Kyrtzidis1-4/+8
malloc'ed buffer. Returning CXString is not appropriate if we want to switch to a non-string format buffer. llvm-svn: 202675
2014-02-25[libclang] Introduce libclang APIs for creating a buffer with a JSON virtual ↵Argyrios Kyrtzidis1-2/+175
file overlay description. The current API only supports adding 'virtual file path' -> 'real file path' mappings. rdar://15986708 llvm-svn: 202105
2014-02-12'svn add' files I forgot for r201224 (Add an option to allow Clang verifyDmitri Gribenko1-0/+22
source files for a module only once during) llvm-svn: 201225