summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-10-17 17:42:19 +0000
committerJohn McCall <rjmccall@apple.com>2011-10-17 17:42:19 +0000
commita072f5d4549d6993de6bc31c8044614e31985a73 (patch)
tree9ceb7b83c4babaef87164194f837a6d40edda08c /clang/lib/Sema
parent69a4565e65d632471173a6a7c734e3855b008a5e (diff)
downloadbcm5719-llvm-a072f5d4549d6993de6bc31c8044614e31985a73.tar.gz
bcm5719-llvm-a072f5d4549d6993de6bc31c8044614e31985a73.zip
Add a helper function for determining whether an expression
has placeholder type. llvm-svn: 142203
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaCast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaCast.cpp b/clang/lib/Sema/SemaCast.cpp
index 8bd9351e0bd..b20732a5f72 100644
--- a/clang/lib/Sema/SemaCast.cpp
+++ b/clang/lib/Sema/SemaCast.cpp
@@ -1728,7 +1728,7 @@ void CastOperation::CheckCXXCStyleCast(bool FunctionalStyle) {
checkNonOverloadPlaceholders();
if (SrcExpr.isInvalid())
return;
- }
+ }
// C++ 5.2.9p4: Any expression can be explicitly converted to type "cv void".
// This test is outside everything else because it's the only case where
OpenPOWER on IntegriCloud