lldb fix for b198de67e0bab462217db50814b1434796fa7caf (PCH/modular codegen refactor)
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 22 Jul 2020 20:08:54 +0000 (13:08 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 22 Jul 2020 20:12:00 +0000 (13:12 -0700)
lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h

index 3787c57..769b18d 100644 (file)
@@ -404,13 +404,6 @@ public:
     return nullptr;
   }
 
-  bool DeclIsFromPCHWithObjectFile(const clang::Decl *D) override {
-    for (auto *S : Sources)
-      if (S->DeclIsFromPCHWithObjectFile(D))
-        return true;
-    return false;
-  }
-
   bool layoutRecordType(
       const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
       llvm::DenseMap<const clang::FieldDecl *, uint64_t> &FieldOffsets,