[all-commits] [llvm/llvm-project] 9b154d: [OpenACC][NFC] Change Readonly token check to use ...

Erich Keane via All-commits all-commits at lists.llvm.org
Fri Dec 8 06:14:35 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b154dad5b465bfc45b962488682ed4f95e049a3
      https://github.com/llvm/llvm-project/commit/9b154dad5b465bfc45b962488682ed4f95e049a3
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M clang/lib/Parse/ParseOpenACC.cpp

  Log Message:
  -----------
  [OpenACC][NFC] Change Readonly token check to use isSpecialTokenKind

As brought up in a previous review, instead of checking a token's
spelling in text everywhere, we added a 'special token kind'.
This adds the only other use of a special kind to use the checking
function instead.




More information about the All-commits mailing list