r240041 - Wrap to 80 columns, no behavior change.
Nico Weber
nicolasweber at gmx.de
Thu Jun 18 13:09:50 PDT 2015
Author: nico
Date: Thu Jun 18 15:09:49 2015
New Revision: 240041
URL: http://llvm.org/viewvc/llvm-project?rev=240041&view=rev
Log:
Wrap to 80 columns, no behavior change.
Modified:
cfe/trunk/lib/Sema/Sema.cpp
Modified: cfe/trunk/lib/Sema/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/Sema.cpp?rev=240041&r1=240040&r2=240041&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/Sema.cpp (original)
+++ cfe/trunk/lib/Sema/Sema.cpp Thu Jun 18 15:09:49 2015
@@ -551,10 +551,10 @@ static bool MethodsAndNestedClassesCompl
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)) {
More information about the cfe-commits
mailing list