summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-doc/Mapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clang-doc/Mapper.h')
-rw-r--r--clang-tools-extra/clang-doc/Mapper.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-doc/Mapper.h b/clang-tools-extra/clang-doc/Mapper.h
index fe2a8e2b00d..b8cdb19ed97 100644
--- a/clang-tools-extra/clang-doc/Mapper.h
+++ b/clang-tools-extra/clang-doc/Mapper.h
@@ -44,7 +44,9 @@ private:
template <typename T> bool mapDecl(const T *D);
int getLine(const NamedDecl *D, const ASTContext &Context) const;
- StringRef getFile(const NamedDecl *D, const ASTContext &Context) const;
+ llvm::SmallString<128> getFile(const NamedDecl *D, const ASTContext &Context,
+ StringRef RootDir,
+ bool &IsFileInRootDir) const;
comments::FullComment *getComment(const NamedDecl *D,
const ASTContext &Context) const;
OpenPOWER on IntegriCloud