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 | 3cec19f9254a7022769516f37e992c5c445f6a52 (patch) | |
tree | 3aea2e8fb285b175ac4ae61d44340740c48140b5 | |
parent | 81285496846bc091d8f39db45eab6a363f490fa6 (diff) | |
download | bcm5719-llvm-3cec19f9254a7022769516f37e992c5c445f6a52.tar.gz bcm5719-llvm-3cec19f9254a7022769516f37e992c5c445f6a52.zip |
Rename SemaCXXCast.cpp to SemaCast.cpp.
llvm-svn: 141686
-rw-r--r-- | clang/lib/Sema/CMakeLists.txt | 2 | ||||
-rw-r--r-- | clang/lib/Sema/SemaCast.cpp (renamed from clang/lib/Sema/SemaCXXCast.cpp) | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/clang/lib/Sema/CMakeLists.txt b/clang/lib/Sema/CMakeLists.txt index 4ff92b18758..dbbb980de85 100644 --- a/clang/lib/Sema/CMakeLists.txt +++ b/clang/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/clang/lib/Sema/SemaCXXCast.cpp b/clang/lib/Sema/SemaCast.cpp index 1f386388bef..df9ef4f5bcc 100644 --- a/clang/lib/Sema/SemaCXXCast.cpp +++ b/clang/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)' // //===----------------------------------------------------------------------===// |