File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1772,7 +1772,11 @@ class TranslateASTVisitor final
1772
1772
case AtomicExpr::AO ## ID: \
1773
1773
cbor_encode_string (array, #ID); \
1774
1774
break ;
1775
+ #if CLANG_VERSION_MAJOR >= 19
1776
+ #include " clang/Basic/Builtins.inc"
1777
+ #else
1775
1778
#include " clang/Basic/Builtins.def"
1779
+ #endif
1776
1780
default : printError (" Unknown atomic builtin: " +
1777
1781
std::to_string (E->getOp ()), E);
1778
1782
};
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ pub fn find_llvm_config() -> Option<PathBuf> {
91
91
. or_else ( || {
92
92
// In PATH
93
93
[
94
+ "llvm-config-19" ,
94
95
"llvm-config-18" ,
95
96
"llvm-config-17" ,
96
97
"llvm-config-16" ,
@@ -106,6 +107,7 @@ pub fn find_llvm_config() -> Option<PathBuf> {
106
107
"llvm-config-7.0" ,
107
108
"llvm-config" ,
108
109
// Homebrew install locations on Intel macOS
110
+ "/usr/local/opt/llvm@19/bin/llvm-config" ,
109
111
"/usr/local/opt/llvm@18/bin/llvm-config" ,
110
112
"/usr/local/opt/llvm@17/bin/llvm-config" ,
111
113
"/usr/local/opt/llvm@16/bin/llvm-config" ,
@@ -119,6 +121,7 @@ pub fn find_llvm_config() -> Option<PathBuf> {
119
121
"/usr/local/opt/llvm@8/bin/llvm-config" ,
120
122
"/usr/local/opt/llvm/bin/llvm-config" ,
121
123
// Homebrew install locations on Apple Silicon macOS
124
+ "/opt/homebrew/opt/llvm@19/bin/llvm-config" ,
122
125
"/opt/homebrew/opt/llvm@18/bin/llvm-config" ,
123
126
"/opt/homebrew/opt/llvm@17/bin/llvm-config" ,
124
127
"/opt/homebrew/opt/llvm@16/bin/llvm-config" ,
You can’t perform that action at this time.
0 commit comments