[all-commits] [llvm/llvm-project] 193e90: [OpenACC][NFC] Fix begin loc and split it from the...

Erich Keane via All-commits all-commits at lists.llvm.org
Tue May 28 13:40:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 193e9007ef0bef6c881ab26746221f22ec674447
      https://github.com/llvm/llvm-project/commit/193e9007ef0bef6c881ab26746221f22ec674447
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2024-05-28 (Tue, 28 May 2024)

  Changed paths:
    M clang/include/clang/AST/StmtOpenACC.h
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Sema/SemaOpenACC.h
    M clang/lib/AST/StmtOpenACC.cpp
    M clang/lib/Parse/ParseOpenACC.cpp
    M clang/lib/Sema/SemaOpenACC.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp

  Log Message:
  -----------
  [OpenACC][NFC] Fix begin loc and split it from the directive location

I discovered while working on something else that we were using the
location of the directive name as the 'beginloc' which caused some
problems in a few places.  This patch makes it so our beginloc is the
'#' as we originally designed, and then adds a DirectiveLoc concept to a
construct for use diagnosing the name.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list