[PATCH] D110891: [inliner] Mandatory inlining decisions produce remarks
Mircea Trofin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 1 10:55:00 PDT 2021
mtrofin marked an inline comment as done.
mtrofin added inline comments.
================
Comment at: llvm/lib/Analysis/InlineAdvisor.cpp:52
+namespace {
+using namespace llvm::ore;
----------------
wenlei wrote:
> curious why do we need anonymous namespace here?
iiuc it's preferred we place file-local types inside an anonymous namespace.
Looking now at the [[ https://llvm.org/docs/CodingStandards.html#anonymous-namespaces | style guideline ]], it touts their benefits but also says I should have only placed de decl there and the impl of those members out... but the members are quite trivial. Happy to move them out though.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110891/new/
https://reviews.llvm.org/D110891
More information about the cfe-commits
mailing list