[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 1 07:12:45 PDT 2025
================
@@ -233,6 +233,9 @@ class Token {
PtrData = const_cast<char*>(Ptr);
}
+ template <class T> T getAnnotationValueAs() const {
+ return static_cast<T>(getAnnotationValue());
+ }
----------------
cor3ntin wrote:
Is that used?
https://github.com/llvm/llvm-project/pull/107168
More information about the cfe-commits
mailing list