[all-commits] [llvm/llvm-project] 470688: [flang] Allow Fortran comments after #include path

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Sep 14 16:58:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4706880f06fbaf5f95dab2b6fd4cd2a5cf1693e6
      https://github.com/llvm/llvm-project/commit/4706880f06fbaf5f95dab2b6fd4cd2a5cf1693e6
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-09-14 (Mon, 14 Sep 2020)

  Changed paths:
    M flang/lib/Parser/preprocessor.cpp
    A flang/test/Preprocessing/empty.h
    A flang/test/Preprocessing/include-comment.F90

  Log Message:
  -----------
  [flang] Allow Fortran comments after #include path

C-style /*comments*/ are removed during preprocessing directive
tokenization, but Fortran !comments need to be specifically
allowed.

Fixes LLVM bugzilla 47466.

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




More information about the All-commits mailing list