[PATCH] D45921: Add getDeserializationListener to ASTReader

Yuka Takahashi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 26 08:14:13 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL330946: Add getDeserializationListener to ASTReader (authored by yamaguchi, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D45921?vs=143441&id=144124#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D45921

Files:
  cfe/trunk/include/clang/Serialization/ASTReader.h


Index: cfe/trunk/include/clang/Serialization/ASTReader.h
===================================================================
--- cfe/trunk/include/clang/Serialization/ASTReader.h
+++ cfe/trunk/include/clang/Serialization/ASTReader.h
@@ -1599,6 +1599,11 @@
   void setDeserializationListener(ASTDeserializationListener *Listener,
                                   bool TakeOwnership = false);
 
+  /// \brief Get the AST deserialization listener.
+  ASTDeserializationListener *getDeserializationListener() {
+    return DeserializationListener;
+  }
+
   /// \brief Determine whether this AST reader has a global index.
   bool hasGlobalIndex() const { return (bool)GlobalIndex; }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45921.144124.patch
Type: text/x-patch
Size: 684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180426/e3162162/attachment.bin>


More information about the cfe-commits mailing list