[PATCH] D84225: [CFE] Add nomerge function attribute to inline assembly.

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 5 08:47:32 PST 2022


xbolva00 added inline comments.


================
Comment at: clang/lib/Sema/SemaStmtAttr.cpp:186
   void VisitCallExpr(const CallExpr *E) { FoundCallExpr = true; }
+  void VisitAsmStmt(const AsmStmt *S) { FoundCallExpr = true; }
 
----------------
This is totally wrong, just big hack to smuggle it here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84225



More information about the cfe-commits mailing list