summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-06-18 20:09:49 +0000
committerNico Weber <nicolasweber@gmx.de>2015-06-18 20:09:49 +0000
commit4bde6c2674931fde48f27367c02fbeaf3c7fa1b0 (patch)
tree048ec38baf8e5c20220b595314a4ab8f53625017 /clang/lib
parent8985b32e76f5e92d32705edb2cef58f9b747af38 (diff)
downloadbcm5719-llvm-4bde6c2674931fde48f27367c02fbeaf3c7fa1b0.tar.gz
bcm5719-llvm-4bde6c2674931fde48f27367c02fbeaf3c7fa1b0.zip
Wrap to 80 columns, no behavior change.
llvm-svn: 240041
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Sema/Sema.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Sema/Sema.cpp b/clang/lib/Sema/Sema.cpp
index 3e0b4a54bcf..46fec7324bc 100644
--- a/clang/lib/Sema/Sema.cpp
+++ b/clang/lib/Sema/Sema.cpp
@@ -551,10 +551,10 @@ static bool MethodsAndNestedClassesComplete(const CXXRecordDecl *RD,
if (const CXXMethodDecl *M = dyn_cast<CXXMethodDecl>(*I))
Complete = M->isDefined() || (M->isPure() && !isa<CXXDestructorDecl>(M));
else if (const FunctionTemplateDecl *F = dyn_cast<FunctionTemplateDecl>(*I))
- // If the template function is marked as late template parsed at this point,
- // it has not been instantiated and therefore we have not performed semantic
- // analysis on it yet, so we cannot know if the type can be considered
- // complete.
+ // If the template function is marked as late template parsed at this
+ // point, it has not been instantiated and therefore we have not
+ // performed semantic analysis on it yet, so we cannot know if the type
+ // can be considered complete.
Complete = !F->getTemplatedDecl()->isLateTemplateParsed() &&
F->getTemplatedDecl()->isDefined();
else if (const CXXRecordDecl *R = dyn_cast<CXXRecordDecl>(*I)) {
OpenPOWER on IntegriCloud