mboehme marked an inline comment as done.
mboehme added inline comments.
================
Comment at: clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp:43
+namespace {
+
----------------
gribozavr2 wrote:
> mboehme wrote:
> > There were a number of pre-existing declarations that were ODR violation
> > risks. I'm adding a new file-local function below, so instead of making it
> > static, I decided to put everything that's supposed to be file-local in an
> > anonymous namespace.
> https://llvm.org/docs/CodingStandards.html#anonymous-namespaces
>
> "Avoid putting declarations other than classes into anonymous namespaces"
Thanks for the pointer -- done!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149144/new/
https://reviews.llvm.org/D149144
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits