diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-03-20 04:51:48 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-03-20 04:51:48 +0000 |
commit | a9ab4d46bb7d7f6bcf1b5eeec8878b8b74ae368d (patch) | |
tree | 6b590bbf9d95448d095e529d6bd8cd1694151181 /clang/include/clang-c | |
parent | ecf2256dfe19aa52b4b6d914dffc685fc5ec7e60 (diff) | |
download | bcm5719-llvm-a9ab4d46bb7d7f6bcf1b5eeec8878b8b74ae368d.tar.gz bcm5719-llvm-a9ab4d46bb7d7f6bcf1b5eeec8878b8b74ae368d.zip |
[libclang] Introduce clang_VirtualFileOverlay_setCaseSensitivity that exposes the VFS option
to set the case-sensitivity for lookups.
rdar://16374696
llvm-svn: 204303
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r-- | clang/include/clang-c/BuildSystem.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/include/clang-c/BuildSystem.h b/clang/include/clang-c/BuildSystem.h index 3d65c536f5a..8212728aabc 100644 --- a/clang/include/clang-c/BuildSystem.h +++ b/clang/include/clang-c/BuildSystem.h @@ -59,6 +59,16 @@ clang_VirtualFileOverlay_addFileMapping(CXVirtualFileOverlay, const char *realPath); /** + * \brief Set the case sensitivity for the \c CXVirtualFileOverlay object. + * The \c CXVirtualFileOverlay object is case-sensitive by default, this + * option can be used to override the default. + * \returns 0 for success, non-zero to indicate an error. + */ +CINDEX_LINKAGE enum CXErrorCode +clang_VirtualFileOverlay_setCaseSensitivity(CXVirtualFileOverlay, + int caseSensitive); + +/** * \brief Write out the \c CXVirtualFileOverlay object to a char buffer. * * \param options is reserved, always pass 0. |