From: John McCall Date: Tue, 11 Oct 2011 17:38:55 +0000 (+0000) Subject: Rename SemaCXXCast.cpp to SemaCast.cpp. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8d3ced6f5d7fa55272194b7165a2321a3be31dc;p=clang Rename SemaCXXCast.cpp to SemaCast.cpp. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141686 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/CMakeLists.txt b/lib/Sema/CMakeLists.txt index 4ff92b1875..dbbb980de8 100644 --- a/lib/Sema/CMakeLists.txt +++ b/lib/Sema/CMakeLists.txt @@ -13,8 +13,8 @@ add_clang_library(clangSema Sema.cpp SemaAccess.cpp SemaAttr.cpp - SemaCXXCast.cpp SemaCXXScopeSpec.cpp + SemaCast.cpp SemaChecking.cpp SemaCodeComplete.cpp SemaDecl.cpp diff --git a/lib/Sema/SemaCXXCast.cpp b/lib/Sema/SemaCast.cpp similarity index 99% rename from lib/Sema/SemaCXXCast.cpp rename to lib/Sema/SemaCast.cpp index 1f386388be..df9ef4f5bc 100644 --- a/lib/Sema/SemaCXXCast.cpp +++ b/lib/Sema/SemaCast.cpp @@ -1,4 +1,4 @@ -//===--- SemaCXXCast.cpp - Semantic Analysis for Casts --------------------===// +//===--- SemaCast.cpp - Semantic Analysis for Casts -----------------------===// // // The LLVM Compiler Infrastructure // @@ -7,7 +7,10 @@ // //===----------------------------------------------------------------------===// // -// This file implements semantic analysis for casts. +// This file implements semantic analysis for cast expressions, including +// 1) C-style casts like '(int) x' +// 2) C++ functional casts like 'int(x)' +// 3) C++ named casts like 'static_cast(x)' // //===----------------------------------------------------------------------===//