[all-commits] [llvm/llvm-project] d3205b: [Annotation] Allows annotation to carry some addit...

Ralender via All-commits all-commits at lists.llvm.org
Mon Oct 26 02:50:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d3205bbca3e0002d76282878986993e7e7994779
      https://github.com/llvm/llvm-project/commit/d3205bbca3e0002d76282878986993e7e7994779
  Author: Tyker <tyker1 at outlook.com>
  Date:   2020-10-26 (Mon, 26 Oct 2020)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/ParsedAttr.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/AST/ast-dump-attr.cpp
    M clang/test/CodeGen/annotations-field.c
    M clang/test/CodeGen/annotations-global.c
    M clang/test/CodeGen/annotations-loc.c
    M clang/test/CodeGen/annotations-var.c
    A clang/test/CodeGenCXX/attr-annotate.cpp
    A clang/test/CodeGenCXX/attr-annotate2.cpp
    M clang/test/Misc/pragma-attribute-cxx.cpp
    M clang/test/Misc/pragma-attribute-objc.m
    M clang/test/Parser/access-spec-attrs.cpp
    M clang/test/Parser/objc-implementation-attrs.m
    M clang/test/Sema/annotate.c
    M clang/test/Sema/pragma-attribute.c
    A clang/test/SemaCXX/attr-annotate.cpp
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/test/Analysis/CostModel/X86/free-intrinsics.ll
    M llvm/test/Analysis/CostModel/free-intrinsics-datalayout.ll
    M llvm/test/Analysis/CostModel/free-intrinsics-no_info.ll
    M llvm/test/CodeGen/Generic/ptr-annotate.ll
    M llvm/test/Transforms/InstCombine/assume_inevitable.ll

  Log Message:
  -----------
  [Annotation] Allows annotation to carry some additional constant arguments.

This allows using annotation in a much more contexts than it currently has.
especially when annotation with template or constexpr.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D88645




More information about the All-commits mailing list