ParseCXXInlineMethods.cpp (198092) | ParseCXXInlineMethods.cpp (199990) |
---|---|
1//===--- ParseCXXInlineMethods.cpp - C++ class inline methods parsing------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 23 unchanged lines hidden (view full) --- 32 TemplateInfo.TemplateParams? TemplateInfo.TemplateParams->data() : 0, 33 TemplateInfo.TemplateParams? TemplateInfo.TemplateParams->size() : 0); 34 DeclPtrTy FnD; 35 if (D.getDeclSpec().isFriendSpecified()) 36 // FIXME: Friend templates 37 FnD = Actions.ActOnFriendFunctionDecl(CurScope, D, true, move(TemplateParams)); 38 else // FIXME: pass template information through 39 FnD = Actions.ActOnCXXMemberDeclarator(CurScope, AS, D, | 1//===--- ParseCXXInlineMethods.cpp - C++ class inline methods parsing------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 23 unchanged lines hidden (view full) --- 32 TemplateInfo.TemplateParams? TemplateInfo.TemplateParams->data() : 0, 33 TemplateInfo.TemplateParams? TemplateInfo.TemplateParams->size() : 0); 34 DeclPtrTy FnD; 35 if (D.getDeclSpec().isFriendSpecified()) 36 // FIXME: Friend templates 37 FnD = Actions.ActOnFriendFunctionDecl(CurScope, D, true, move(TemplateParams)); 38 else // FIXME: pass template information through 39 FnD = Actions.ActOnCXXMemberDeclarator(CurScope, AS, D, |
40 move(TemplateParams), 0, 0); | 40 move(TemplateParams), 0, 0, 41 /*IsDefinition*/true); |
41 42 HandleMemberFunctionDefaultArgs(D, FnD); 43 44 // Consume the tokens and store them for later parsing. 45 46 getCurrentClass().MethodDefs.push_back(LexedMethod(FnD)); 47 getCurrentClass().MethodDefs.back().TemplateScope 48 = CurScope->isTemplateParamScope(); --- 247 unchanged lines hidden --- | 42 43 HandleMemberFunctionDefaultArgs(D, FnD); 44 45 // Consume the tokens and store them for later parsing. 46 47 getCurrentClass().MethodDefs.push_back(LexedMethod(FnD)); 48 getCurrentClass().MethodDefs.back().TemplateScope 49 = CurScope->isTemplateParamScope(); --- 247 unchanged lines hidden --- |