[flang-commits] [flang] [flang] Add __COUNTER__ preprocessor macro (PR #136827)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Thu May 8 07:48:39 PDT 2025
================
@@ -121,6 +121,8 @@ class Preprocessor {
std::list<std::string> names_;
std::unordered_map<CharBlock, Definition> definitions_;
std::stack<CanDeadElseAppear> ifStack_;
+
+ unsigned int counter_val_{0};
----------------
klausler wrote:
`int counterVal_{0};`
https://github.com/llvm/llvm-project/pull/136827
More information about the flang-commits
mailing list