summaryrefslogtreecommitdiff
path: root/tools/libclang/BuildSystem.cpp
Commit message (Collapse)AuthorAge
* VirtualFileSystem: Add YAMLVFSWriter to generate VFS mapping filesJustin Bogner2014-05-20
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209241 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch another write_escaped to yaml::escapeBen Langmuir2014-05-16
| | | | | | I missed one in r206443. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208941 91177308-0d34-0410-b5e6-96231b3b80d8
* When writing YAML in libclang, use yaml::escape instead of write_escapedBen Langmuir2014-04-17
| | | | | | | | 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(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206443 91177308-0d34-0410-b5e6-96231b3b80d8
* [libclang] Introduce clang_VirtualFileOverlay_setCaseSensitivity that ↵Argyrios Kyrtzidis2014-03-20
| | | | | | | | | | exposes the VFS option to set the case-sensitivity for lookups. rdar://16374696 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204303 91177308-0d34-0410-b5e6-96231b3b80d8
* [cleanup] Re-sort includes with llvm/utils/sort_includes.py and fixChandler Carruth2014-03-04
| | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202810 91177308-0d34-0410-b5e6-96231b3b80d8
* [libclang] Introduce APIs that assist in constructing a simple module.map ↵Argyrios Kyrtzidis2014-03-03
| | | | | | | | file for a user framework. rdar://16092858 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202681 91177308-0d34-0410-b5e6-96231b3b80d8
* [libclang] Change clang_VirtualFileOverlay_writeToBuffer to return a ↵Argyrios Kyrtzidis2014-03-03
| | | | | | | | malloc'ed buffer. Returning CXString is not appropriate if we want to switch to a non-string format buffer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202675 91177308-0d34-0410-b5e6-96231b3b80d8
* [libclang] Introduce libclang APIs for creating a buffer with a JSON virtual ↵Argyrios Kyrtzidis2014-02-25
| | | | | | | | | | file overlay description. The current API only supports adding 'virtual file path' -> 'real file path' mappings. rdar://15986708 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202105 91177308-0d34-0410-b5e6-96231b3b80d8
* 'svn add' files I forgot for r201224 (Add an option to allow Clang verifyDmitri Gribenko2014-02-12
source files for a module only once during) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201225 91177308-0d34-0410-b5e6-96231b3b80d8