[clang] [llvm] [OpenMP] Add runtime selection for metadirective with non-constant conditions. (PR #192455)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 27 07:24:57 PDT 2026


================
@@ -1806,6 +1806,11 @@ class Preprocessor {
   /// Disable the last EnableBacktrackAtThisPos call.
   void CommitBacktrackedTokens();
 
+  /// Get the tokens cached since EnableBacktrackAtThisPos() and commit
+  /// the backtrack. The main token stream remains at the current position
+  /// (advanced past the cached tokens).
+  ArrayRef<Token> GetAndCommitBacktrackedTokens();
----------------
alexey-bataev wrote:

Unused

https://github.com/llvm/llvm-project/pull/192455


More information about the llvm-commits mailing list