diff options
author | Steve Naroff <snaroff@apple.com> | 2009-09-03 18:19:54 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-09-03 18:19:54 +0000 |
commit | 77accc11f04ed4ff9afd4e27d430144d4714be56 (patch) | |
tree | 91cb0f223d2dee93dc71478d546ef2fa1b41d8fc /include/clang/Frontend | |
parent | a38c687ef5354678b9d76a7b29354159f2b83736 (diff) |
Add ASTUnit::getOriginalSourceFileName() and use in clang_getTranslationUnitSpelling().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend')
-rw-r--r-- | include/clang/Frontend/ASTUnit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Frontend/ASTUnit.h b/include/clang/Frontend/ASTUnit.h index 5eb7f494d7..2b410ca1c8 100644 --- a/include/clang/Frontend/ASTUnit.h +++ b/include/clang/Frontend/ASTUnit.h @@ -58,6 +58,8 @@ public: const Diagnostic &getDiagnostic() const { return *Diags.get(); } Diagnostic &getDiagnostic() { return *Diags.get(); } + + const std::string &getOriginalSourceFileName(); /// \brief Create a ASTUnit from a PCH file. /// |