[clang] [Clang] Explain why a type trait evaluated to false. (PR #141238)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Fri May 23 08:15:56 PDT 2025
================
@@ -0,0 +1,539 @@
+//===----- SemaTypeTraits.cpp - Semantic Analysis for C++ Type Traits -----===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements semantic analysis for C++ type traits.
+//
+//===----------------------------------------------------------------------===//
+
+#include "clang/AST/DeclCXX.h"
+#include "clang/Basic/DiagnosticSema.h"
+#include "clang/Sema/Overload.h"
+#include "clang/Sema/Sema.h"
+
+using namespace clang;
+
+static CXXMethodDecl *LookupSpecialMemberFromXValue(Sema &SemaRef,
----------------
erichkeane wrote:
Could we split the 'SemaTypeTraits.cpp file creation' part of this patch (including MOVING stuff) to a different review/commit? It is making figuring out what to review pretty difficult.
https://github.com/llvm/llvm-project/pull/141238
More information about the cfe-commits
mailing list