[Lldb-commits] [lldb] fdb45f5 - lldb fix for b198de67e0bab462217db50814b1434796fa7caf (PCH/modular codegen refactor)

David Blaikie via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 22 13:12:09 PDT 2020


Author: David Blaikie
Date: 2020-07-22T13:12:00-07:00
New Revision: fdb45f54b6c0de00ba3bfa5dd157161ebb12799d

URL: https://github.com/llvm/llvm-project/commit/fdb45f54b6c0de00ba3bfa5dd157161ebb12799d
DIFF: https://github.com/llvm/llvm-project/commit/fdb45f54b6c0de00ba3bfa5dd157161ebb12799d.diff

LOG: lldb fix for b198de67e0bab462217db50814b1434796fa7caf (PCH/modular codegen refactor)

Added: 
    

Modified: 
    lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h b/lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h
index 3787c572d45b..769b18d54ced 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h
+++ b/lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h
@@ -404,13 +404,6 @@ class SemaSourceWithPriorities : public clang::ExternalSemaSource {
     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,


        


More information about the lldb-commits mailing list