mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
Adds a monolithic ebuild for the experimental clang fork by Bloomberg
implementing P2996 (Reflection for C++26).
It is cobbled together — somewhat arbitrarily — from the various split
ebuilds in the main portage tree and builds clang, libc++, and
libc++abi, which are installed into
/usr/lib/{clang,llvm}/bloomberg-p2996.
Two patches address compiler warnings that trigger QA notices. The
remaining QA notices are likely false positives.
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
13 lines
442 B
Diff
13 lines
442 B
Diff
diff --git a/clang/lib/AST/ExprConstantMeta.cpp b/clang/lib/AST/ExprConstantMeta.cpp
|
|
index 0808f3124833..bc23ad41dbe5 100644
|
|
--- a/clang/lib/AST/ExprConstantMeta.cpp
|
|
+++ b/clang/lib/AST/ExprConstantMeta.cpp
|
|
@@ -1664,6 +1664,7 @@ StringRef DescriptionOf(APValue RV, bool Granular = true) {
|
|
return "an annotation";
|
|
}
|
|
}
|
|
+ llvm_unreachable("unknown reflection");
|
|
}
|
|
|
|
bool DiagnoseReflectionKind(DiagFn Diagnoser, SourceRange Range,
|