[all-commits] [llvm/llvm-project] 01def7: [flang] Rework preprocessing of stringification

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Sep 18 10:46:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 01def7f7c3f1f762ce57a89aceb85214669911c3
      https://github.com/llvm/llvm-project/commit/01def7f7c3f1f762ce57a89aceb85214669911c3
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-09-18 (Fri, 18 Sep 2020)

  Changed paths:
    M flang/lib/Parser/parsing.cpp
    M flang/lib/Parser/preprocessor.cpp
    M flang/lib/Parser/preprocessor.h
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    A flang/test/Preprocessing/assert.F90

  Log Message:
  -----------
  [flang] Rework preprocessing of stringification

Hew more closely to the C17 standard; perform macro replacement
of arguments to function-like macros unless they're being stringified
or pasted.  Test with a model "assert" macro idiom that exposed
the problem.

Differential Revision: https://reviews.llvm.org/D87650




More information about the All-commits mailing list