[all-commits] [llvm/llvm-project] ccf02c: [clang][NFC] Remove unreachable code
Nathan Sidwell via All-commits
all-commits at lists.llvm.org
Wed Feb 2 05:14:51 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ccf02cdf17d68a7dd4411daa74b81fa5b48d0a0c
https://github.com/llvm/llvm-project/commit/ccf02cdf17d68a7dd4411daa74b81fa5b48d0a0c
Author: Nathan Sidwell <nathan at acm.org>
Date: 2022-02-02 (Wed, 02 Feb 2022)
Changed paths:
M clang/lib/AST/Decl.cpp
Log Message:
-----------
[clang][NFC] Remove unreachable code
NamespaceDecls are NamedDecls, so NSD can never be non-null in the
else branch. Add a comment about this whole ModuleInternal linkage
concept going away when p1815 is implemented.
Reviewed By: bruno
Differential Revision: https://reviews.llvm.org/D118704
More information about the All-commits
mailing list