diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2015-09-11 20:43:05 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2015-09-11 20:43:05 +0000 |
commit | 4963bf31d61a4293294de0f008226ed5d21cafd0 (patch) | |
tree | 8fa9da30153598c2f0132f176c8cc4e0724edba9 /include/clang-c | |
parent | 314d1b9b63b5eb093278a35101c314b5329fc5bb (diff) |
[tooling] In CompileCommand, Expose the 'file' that was associated with the command.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r-- | include/clang-c/CXCompilationDatabase.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/clang-c/CXCompilationDatabase.h b/include/clang-c/CXCompilationDatabase.h index 068a677a95..9359abfebf 100644 --- a/include/clang-c/CXCompilationDatabase.h +++ b/include/clang-c/CXCompilationDatabase.h @@ -126,6 +126,12 @@ CINDEX_LINKAGE CXString clang_CompileCommand_getDirectory(CXCompileCommand); /** + * \brief Get the filename associated with the CompileCommand. + */ +CINDEX_LINKAGE CXString +clang_CompileCommand_getFilename(CXCompileCommand); + +/** * \brief Get the number of arguments in the compiler invocation. * */ |