Skip to content

Commit 09df91a

Browse files
committed
remove redundant check
1 parent b57e9c1 commit 09df91a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/include/clang/Sema/Overload.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,8 +1453,7 @@ class Sema;
14531453
Kind != CSK_InitByConstructor
14541454
// When doing code completion, we want to see all the
14551455
// viable candidates.
1456-
&& Kind != CSK_CodeCompletion &&
1457-
Opts.CPlusPlus
1456+
&& Kind != CSK_CodeCompletion
14581457
// When -fgpu-exclude-wrong-side-overloads, CUDA needs
14591458
// to exclude templates from the overload sets after they
14601459
// have been instantiated. See CudaExcludeWrongSideCandidates.

0 commit comments

Comments
 (0)