diff options
author | John McCall <rjmccall@apple.com> | 2011-10-11 17:38:55 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-10-11 17:38:55 +0000 |
commit | d8d3ced6f5d7fa55272194b7165a2321a3be31dc (patch) | |
tree | 48cc85a5b0d5753382d5461020c62694909879b5 | |
parent | e1677d97281d7e5059e15ed456e03cb02e475f08 (diff) |
Rename SemaCXXCast.cpp to SemaCast.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141686 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Sema/CMakeLists.txt | 2 | ||||
-rw-r--r-- | lib/Sema/SemaCast.cpp (renamed from lib/Sema/SemaCXXCast.cpp) | 7 |
2 files changed, 6 insertions, 3 deletions
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 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<int>(x)' // //===----------------------------------------------------------------------===// |