diff options
author | John McCall <rjmccall@apple.com> | 2010-11-15 09:13:47 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-11-15 09:13:47 +0000 |
commit | 8cb679e4e1e20345b2bb9276fd051b41a21e5e3d (patch) | |
tree | 645a16ae7ee52a98f186e00b2bfb7c6334e64bfe /clang/lib/Sema/SemaChecking.cpp | |
parent | 14776cf96a510ca5550d728d9ff7d84f07773592 (diff) | |
download | bcm5719-llvm-8cb679e4e1e20345b2bb9276fd051b41a21e5e3d.tar.gz bcm5719-llvm-8cb679e4e1e20345b2bb9276fd051b41a21e5e3d.zip |
Assorted work leading towards the elimination of CK_Unknown.
llvm-svn: 119138
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r-- | clang/lib/Sema/SemaChecking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index 56a0c076ad3..e11d68ca19d 100644 --- a/clang/lib/Sema/SemaChecking.cpp +++ b/clang/lib/Sema/SemaChecking.cpp @@ -547,7 +547,7 @@ Sema::SemaBuiltinAtomicOverloaded(ExprResult TheCallResult) { // GCC does an implicit conversion to the pointer or integer ValType. This // can fail in some cases (1i -> int**), check for this error case now. - CastKind Kind = CK_Unknown; + CastKind Kind = CK_Invalid; CXXCastPath BasePath; if (CheckCastTypes(Arg->getSourceRange(), ValType, Arg, Kind, BasePath)) return ExprError(); |