[PATCH] D92800: [Clang] Make nomerge attribute a function attribute as well as a statement attribute.

Zequan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 15 17:01:54 PST 2020


zequanwu added inline comments.


================
Comment at: clang/test/CodeGen/attr-nomerge.cpp:73
+// CHECK-DAG: attributes #[[ATTR2]] = {{{.*}}nomerge{{.*}}}
+// CHECK-DAG: attributes #[[ATTR3]] = {{{.*}}nomerge{{.*}}}
----------------
aaron.ballman wrote:
> Can you also add a test case to demonstrate that inheriting the attribute on a later redeclaration works? It can either be a codegen test or an AST dump test.
Do you mean something like this? 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92800/new/

https://reviews.llvm.org/D92800



More information about the llvm-commits mailing list