reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaCodeComplete.cpp
 3335   Result.addParentContext(ND->getDeclContext());
 3340       Result.addBriefComment(RC->getBriefText(Ctx));
 3345     Result.AddTypedTextChunk(
 3346         Result.getAllocator().CopyString(ND->getNameAsString()));
 3347     Result.AddTextChunk("::");
 3348     return Result.TakeString();
 3352     Result.AddAnnotation(Result.getAllocator().CopyString(I->getAnnotation()));
 3352     Result.AddAnnotation(Result.getAllocator().CopyString(I->getAnnotation()));
 3354   AddResultTypeChunk(Ctx, Policy, ND, CCContext.getBaseType(), Result);
 3357     AddQualifierToCompletionString(Result, Qualifier, QualifierIsInformative,
 3359     AddTypedNameChunk(Ctx, Policy, ND, Result);
 3360     Result.AddChunk(CodeCompletionString::CK_LeftParen);
 3361     AddFunctionParameterChunks(PP, Policy, Function, Result);
 3362     Result.AddChunk(CodeCompletionString::CK_RightParen);
 3363     AddFunctionTypeQualsToCompletionString(Result, Function);
 3364     return Result.TakeString();
 3369     AddQualifierToCompletionString(Result, Qualifier, QualifierIsInformative,
 3372     AddTypedNameChunk(Ctx, Policy, Function, Result);
 3408       Result.AddChunk(CodeCompletionString::CK_LeftAngle);
 3409       AddTemplateParameterChunks(Ctx, Policy, FunTmpl, Result,
 3411       Result.AddChunk(CodeCompletionString::CK_RightAngle);
 3415     Result.AddChunk(CodeCompletionString::CK_LeftParen);
 3416     AddFunctionParameterChunks(PP, Policy, Function, Result);
 3417     Result.AddChunk(CodeCompletionString::CK_RightParen);
 3418     AddFunctionTypeQualsToCompletionString(Result, Function);
 3419     return Result.TakeString();
 3423     AddQualifierToCompletionString(Result, Qualifier, QualifierIsInformative,
 3425     Result.AddTypedTextChunk(
 3426         Result.getAllocator().CopyString(Template->getNameAsString()));
 3427     Result.AddChunk(CodeCompletionString::CK_LeftAngle);
 3428     AddTemplateParameterChunks(Ctx, Policy, Template, Result);
 3429     Result.AddChunk(CodeCompletionString::CK_RightAngle);
 3430     return Result.TakeString();
 3435       Result.AddTypedTextChunk(
 3436           Result.getAllocator().CopyString(Sel.getNameForSlot(0)));
 3437       return Result.TakeString();
 3443       Result.AddTypedTextChunk(Result.getAllocator().CopyString(SelName));
 3443       Result.AddTypedTextChunk(Result.getAllocator().CopyString(SelName));
 3445       Result.AddInformativeChunk(Result.getAllocator().CopyString(SelName));
 3445       Result.AddInformativeChunk(Result.getAllocator().CopyString(SelName));
 3450         Result.AddTypedTextChunk("");
 3459           Result.AddChunk(CodeCompletionString::CK_HorizontalSpace);
 3464           Result.AddInformativeChunk(Result.getAllocator().CopyString(Keyword));
 3464           Result.AddInformativeChunk(Result.getAllocator().CopyString(Keyword));
 3466           Result.AddTypedTextChunk(Result.getAllocator().CopyString(Keyword));
 3466           Result.AddTypedTextChunk(Result.getAllocator().CopyString(Keyword));
 3498         Result.AddTextChunk(Result.getAllocator().CopyString(Arg));
 3498         Result.AddTextChunk(Result.getAllocator().CopyString(Arg));
 3500         Result.AddInformativeChunk(Result.getAllocator().CopyString(Arg));
 3500         Result.AddInformativeChunk(Result.getAllocator().CopyString(Arg));
 3502         Result.AddPlaceholderChunk(Result.getAllocator().CopyString(Arg));
 3502         Result.AddPlaceholderChunk(Result.getAllocator().CopyString(Arg));
 3508           Result.AddTextChunk(", ...");
 3510           Result.AddInformativeChunk(", ...");
 3512           Result.AddPlaceholderChunk(", ...");
 3515       MaybeAddSentinel(PP, Method, Result);
 3518     return Result.TakeString();
 3522     AddQualifierToCompletionString(Result, Qualifier, QualifierIsInformative,
 3525   Result.AddTypedTextChunk(
 3526       Result.getAllocator().CopyString(ND->getNameAsString()));
 3527   return Result.TakeString();