[all-commits] [llvm/llvm-project] fa1e54: [flang][driver] Update error messages (nfc)

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Wed Jan 6 02:42:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa1e543e0b8c625bf2625598d9a16c484e349884
      https://github.com/llvm/llvm-project/commit/fa1e543e0b8c625bf2625598d9a16c484e349884
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

  Changed paths:
    M flang/lib/Frontend/FrontendAction.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/test/Flang-Driver/parse-error.f95
    M flang/test/Flang-Driver/scanning-error.f95
    M flang/test/Flang-Driver/syntax-only.f90
    M flang/tools/f18/f18.cpp

  Log Message:
  -----------
  [flang][driver] Update error messages (nfc)

As per Flang's coding guidelines
(flang/docs/C++style.md#error-messages):
```
Messages should start with a capital letter.
```

This patch updates error messages in the driver (new and old) so that
they conform with the guideline above.

This change was suggested in one of the recent reviews:
https://reviews.llvm.org/D93712. It felt like this deserved a dedicated
patch, so sending it separately.




More information about the All-commits mailing list