[all-commits] [llvm/llvm-project] 00dad9: Ignore noderef attribute in unevaluated context

Jann via All-commits all-commits at lists.llvm.org
Mon Nov 23 05:15:24 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00dad9d028ce31739b992a3ce2df5de054a9fa3c
      https://github.com/llvm/llvm-project/commit/00dad9d028ce31739b992a3ce2df5de054a9fa3c
  Author: Jann Horn <jannh at google.com>
  Date:   2020-11-23 (Mon, 23 Nov 2020)

  Changed paths:
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaExprMember.cpp
    M clang/test/Frontend/noderef.c
    M clang/test/Frontend/noderef.cpp

  Log Message:
  -----------
  Ignore noderef attribute in unevaluated context

The noderef attribute is for catching code that accesses pointers in
a different address space. Unevaluated code is always safe in that regard.




More information about the All-commits mailing list