summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExternalASTSource.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-06-30 17:39:43 +0000
committerAdrian Prantl <aprantl@apple.com>2015-06-30 17:39:43 +0000
commit15bcf70cdf843d3070af3e811b7b0412b55e9500 (patch)
treefc6f06d437029b0d38652ca3911543b4690d48f7 /clang/lib/AST/ExternalASTSource.cpp
parent1d9b5e6eced452c671e77ac924bd1fd4808716ee (diff)
downloadbcm5719-llvm-15bcf70cdf843d3070af3e811b7b0412b55e9500.tar.gz
bcm5719-llvm-15bcf70cdf843d3070af3e811b7b0412b55e9500.zip
Add a function to ExternalASTSource that returns a descriptor that
abstracts the commonalities between modules and PCH files that are needed to emit debug info for a module or precompiled header. llvm-svn: 241083
Diffstat (limited to 'clang/lib/AST/ExternalASTSource.cpp')
-rw-r--r--clang/lib/AST/ExternalASTSource.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/lib/AST/ExternalASTSource.cpp b/clang/lib/AST/ExternalASTSource.cpp
index 730842a28f6..1c82c355134 100644
--- a/clang/lib/AST/ExternalASTSource.cpp
+++ b/clang/lib/AST/ExternalASTSource.cpp
@@ -22,6 +22,16 @@ using namespace clang;
ExternalASTSource::~ExternalASTSource() { }
+llvm::Optional<ExternalASTSource::ASTSourceDescriptor>
+ExternalASTSource::getSourceDescriptor(unsigned ID) {
+ return None;
+}
+
+ExternalASTSource::ASTSourceDescriptor
+ExternalASTSource::getSourceDescriptor(const Module &M) {
+ return ASTSourceDescriptor();
+}
+
void ExternalASTSource::FindFileRegionDecls(FileID File, unsigned Offset,
unsigned Length,
SmallVectorImpl<Decl *> &Decls) {}
OpenPOWER on IntegriCloud