[clang] 27f5f33 - [clang][Interp][NFC] Remove an unused include

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 6 21:42:27 PST 2022


Author: Timm Bäder
Date: 2022-11-07T06:34:22+01:00
New Revision: 27f5f33c81d9e253dd5caa31898baf9738a8b068

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

LOG: [clang][Interp][NFC] Remove an unused include

And an unnecessary private marker.

Added: 
    

Modified: 
    clang/lib/AST/Interp/Context.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/Interp/Context.h b/clang/lib/AST/Interp/Context.h
index 96e93dbfc48b0..feb809b69bf39 100644
--- a/clang/lib/AST/Interp/Context.h
+++ b/clang/lib/AST/Interp/Context.h
@@ -18,7 +18,6 @@
 
 #include "InterpStack.h"
 #include "clang/AST/APValue.h"
-#include "llvm/ADT/PointerIntPair.h"
 
 namespace clang {
 class ASTContext;
@@ -69,7 +68,6 @@ class Context final {
   /// Checks a result from the interpreter.
   bool Check(State &Parent, llvm::Expected<bool> &&R);
 
-private:
   /// Current compilation context.
   ASTContext &Ctx;
   /// Interpreter stack, shared across invocations.


        


More information about the cfe-commits mailing list