lebedev.ri added a comment. Thanks! ================ Comment at: lib/Sema/SemaDecl.cpp:12380-12382 } + if (LangOpts.CPlusPlus && II) { ---------------- I think you could move it into the `if()` above? https://reviews.llvm.org/D52421