[all-commits] [llvm/llvm-project] 5c3bf3: [flang] Add __COUNTER__ preprocessor macro (#136827)

Yussur Mustafa Oraji via All-commits all-commits at lists.llvm.org
Fri May 30 05:34:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c3bf36c996e0e8e1b6fcdd2fc116d3e5305df13
      https://github.com/llvm/llvm-project/commit/5c3bf36c996e0e8e1b6fcdd2fc116d3e5305df13
  Author: Yussur Mustafa Oraji <N00byKing at hotmail.de>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/docs/Preprocessing.md
    M flang/include/flang/Parser/preprocessor.h
    M flang/lib/Parser/preprocessor.cpp
    A flang/test/Preprocessing/counter.F90

  Log Message:
  -----------
  [flang] Add __COUNTER__ preprocessor macro (#136827)

This commit adds support for the `__COUNTER__` preprocessor macro, which
works the same as the one found in clang.
It is useful to generate unique names at compile-time.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list