[all-commits] [llvm/llvm-project] 26f8e1: [OpenACC] NFC: Stop using 'getSpelling' while pars...

Erich Keane via All-commits all-commits at lists.llvm.org
Wed Dec 6 07:12:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26f8e1461e24bd71dcd409d1fe88ddc1c7cf5da1
      https://github.com/llvm/llvm-project/commit/26f8e1461e24bd71dcd409d1fe88ddc1c7cf5da1
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/lib/Parse/ParseOpenACC.cpp
    M clang/test/ParserOpenACC/parse-constructs.c
    M clang/test/ParserOpenACC/unimplemented.c
    M clang/test/ParserOpenACC/unimplemented.cpp

  Log Message:
  -----------
  [OpenACC] NFC: Stop using 'getSpelling' while parsing OpenACC

It was brought up during the cache review that we shouldn't be using
'getSpelling', and instead should use the IdentifierInfo itself.  This
patch replaces all uses of it.




More information about the All-commits mailing list