[all-commits] [llvm/llvm-project] 0eb329: [flang] Fix crash from -DMACRO= with empty replace...

Peter Klausler via All-commits all-commits at lists.llvm.org
Sat Apr 24 10:56:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0eb3299d28e4a9e235dec28d70a0df9e74e74722
      https://github.com/llvm/llvm-project/commit/0eb3299d28e4a9e235dec28d70a0df9e74e74722
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-04-24 (Sat, 24 Apr 2021)

  Changed paths:
    M flang/include/flang/Common/interval.h
    M flang/lib/Parser/provenance.cpp

  Log Message:
  -----------
  [flang] Fix crash from -DMACRO= with empty replacement

Such macros were exposing some edge cases in the preprocessor
regarding empty tokens.

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




More information about the All-commits mailing list