ChuanqiXu added inline comments.
================
Comment at: clang/lib/Sema/SemaDecl.cpp:1643-1648
+ if (!New->getLexicalDeclContext()
+ ->getNonTransparentContext()
+ ->isFileContext() ||
+ !Old->getLexicalDeclContext()
+ ->getNonTransparentContext()
+ ->isFileContext())
----------------
This is formatted by clang-format, the original may be too long:
```
if (!New->getLexicalDeclContext()->getNonTransparentContext()->isFileContext()
||
...
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118120/new/
https://reviews.llvm.org/D118120
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits