diff options
| author | John McCall <rjmccall@apple.com> | 2011-10-17 17:42:19 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2011-10-17 17:42:19 +0000 |
| commit | a072f5d4549d6993de6bc31c8044614e31985a73 (patch) | |
| tree | 9ceb7b83c4babaef87164194f837a6d40edda08c /clang/lib/Sema | |
| parent | 69a4565e65d632471173a6a7c734e3855b008a5e (diff) | |
| download | bcm5719-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.cpp | 2 |
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 |

