Author: Simon Pilgrim
Date: 2023-05-19T10:39:31+01:00
New Revision: b87e5a046f6e3ee117c9f8cbe9ae368b30127b37

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

LOG: Add missing llvm/Support/Compiler.h include for MSVC builds without 
__has_attribute

Added: 
    

Modified: 
    clang/include/clang/Interpreter/Value.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Interpreter/Value.h 
b/clang/include/clang/Interpreter/Value.h
index e75a90505154..4df4367030ec 100644
--- a/clang/include/clang/Interpreter/Value.h
+++ b/clang/include/clang/Interpreter/Value.h
@@ -33,7 +33,9 @@
 #ifndef LLVM_CLANG_INTERPRETER_VALUE_H
 #define LLVM_CLANG_INTERPRETER_VALUE_H
 
+#include "llvm/Support/Compiler.h"
 #include <cstdint>
+
 // NOTE: Since the REPL itself could also include this runtime, extreme caution
 // should be taken when MAKING CHANGES to this file, especially when INCLUDE 
NEW
 // HEADERS, like <string>, <memory> and etc. (That pulls a large number of


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to