[all-commits] [llvm/llvm-project] dd16b3: [BPF] Restrict preserve_access_index attribute to ...

yonghong-song via All-commits all-commits at lists.llvm.org
Thu Nov 14 14:15:15 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dd16b3fe2559789adcdd7d4d0bfe2796897877a3
      https://github.com/llvm/llvm-project/commit/dd16b3fe2559789adcdd7d4d0bfe2796897877a3
  Author: Yonghong Song <yhs at fb.com>
  Date:   2019-11-14 (Thu, 14 Nov 2019)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/lib/CodeGen/CGExpr.cpp
    A clang/test/Sema/bpf-attr-preserve-access-index.cpp

  Log Message:
  -----------
  [BPF] Restrict preserve_access_index attribute to C only

This patch is a follow-up for commit 4e2ce228ae79
  [BPF] Add preserve_access_index attribute for record definition
to restrict attribute for C only. A new test case is added
to check for this restriction.

Additional code polishing is done based on
Aaron Ballman's suggestion in https://reviews.llvm.org/D69759/new/.

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




More information about the All-commits mailing list