[all-commits] [llvm/llvm-project] eaab97: [NFC] Rename hlsl semantics to hlsl annotations (#...

Joshua Batista via All-commits all-commits at lists.llvm.org
Mon Apr 22 23:41:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eaab97a0b7f15ce1f68aaa9daf7e96468933cad8
      https://github.com/llvm/llvm-project/commit/eaab97a0b7f15ce1f68aaa9daf7e96468933cad8
  Author: Joshua Batista <jbatista at microsoft.com>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttributeCommonInfo.h
    M clang/include/clang/Parse/Parser.h
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Parse/ParseHLSL.cpp
    M clang/utils/TableGen/ClangAttrEmitter.cpp

  Log Message:
  -----------
  [NFC] Rename hlsl semantics to hlsl annotations (#89309)

The attribute name "HLSLSemantics" is confusing, because semantics
aren't always the annotation that are applied to specific variables. The
name for this attribute needs to be less specific. This PR changes the
attribute name from HLSLSemantic to HLSLAnnotation, and changes the
associated function and variable names to support this conceptual
change.
The HLSLAnnotation attribute will never be output in ast-dump due to it
being parsed for the attribute that it represents. There is no
functional change, so there are no accompanying tests.



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