Searched refs:Contexts (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Format/
H A DTokenAnnotator.cpp36 Contexts.push_back(Context(tok::unknown, 1, /*IsExpression=*/false));
45 Contexts.back().IsExpression = false;
65 Contexts[Contexts.size() - 2].IsExpression) &&
81 Contexts.back().ColonIsForRangeExpr =
82 Contexts.size() == 2 && Contexts[0].ColonIsForRangeExpr;
100 Contexts.back().IsExpression = true;
105 Contexts.back().IsExpression = false;
109 Contexts
849 SmallVector<Context, 8> Contexts; member in class:clang::format::__anon3256::AnnotatingParser
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp82 for (ContextMap::iterator I = Contexts.begin(), E = Contexts.end(); I!=E; ++I)
84 Contexts.clear();
266 AnalysisDeclContext *&AC = Contexts[D];
332 LOC *L = cast_or_null<LOC>(Contexts.FindNodeOrInsertPos(ID, InsertPos));
336 Contexts.InsertNode(L, InsertPos);
350 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos));
353 Contexts.InsertNode(L, InsertPos);
374 cast_or_null<BlockInvocationContext>(Contexts.FindNodeOrInsertPos(ID,
378 Contexts
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/AST/
H A DDeclBase.cpp901 DeclContext::collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts){ argument
902 Contexts.clear();
905 Contexts.push_back(this);
912 Contexts.push_back(N);
914 std::reverse(Contexts.begin(), Contexts.end());
1197 SmallVector<DeclContext *, 2> Contexts;
1198 collectAllContexts(Contexts);
1199 for (unsigned I = 0, N = Contexts.size(); I != N; ++I)
1201 &DeclContext::decls_end>(Contexts[
1309 SmallVector<DeclContext *, 2> Contexts; local
[all...]
H A DDecl.cpp1297 ContextsTy Contexts; local
1301 Contexts.push_back(Ctx);
1305 for (ContextsTy::reverse_iterator I = Contexts.rbegin(), E = Contexts.rend();
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp286 SmallVector<const DeclContext *, 2> Contexts;
290 Contexts.push_back(DC);
300 for (unsigned I = Contexts.size(); I != 0; --I) {
307 const DeclContext *CurDC = Contexts[I-1];
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/Analysis/
H A DAnalysisContext.h367 llvm::FoldingSet<LocationContext> Contexts; member in class:clang::LocationContextManager
398 ContextMap Contexts; member in class:clang::AnalysisDeclContextManager
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Frontend/
H A DASTUnit.cpp290 uint64_t Contexts = 0;
295 Contexts |= (1LL << CodeCompletionContext::CCC_TopLevel)
304 Contexts |= (1LL << CodeCompletionContext::CCC_Expression);
309 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCMessageReceiver);
313 Contexts |= (1LL << CodeCompletionContext::CCC_ObjCInterfaceName);
317 Contexts |= (1LL << CodeCompletionContext::CCC_EnumTag);
324 Contexts |= (1LL << CodeCompletionContext::CCC_UnionTag);
326 Contexts |= (1LL << CodeCompletionContext::CCC_ClassOrStructTag);
334 Contexts = (1LL << CodeCompletionContext::CCC_Statement)
339 Contexts
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp5700 SmallVectorImpl<const DeclContext *> &Contexts; member in class:__anon3471::DeclContextNameLookupVisitor
5706 SmallVectorImpl<const DeclContext *> &Contexts,
5709 : Reader(Reader), Contexts(Contexts), Name(Name), Decls(Decls) { }
5719 for (unsigned I = 0, N = This->Contexts.size(); I != N; ++I) {
5720 Info = M.DeclContextInfos.find(This->Contexts[I]);
5799 SmallVector<const DeclContext *, 2> Contexts; local
5800 Contexts.push_back(DC);
5807 Contexts.push_back(cast<DeclContext>(GetDecl(Merged->second[I])));
5811 DeclContextNameLookupVisitor Visitor(*this, Contexts, Nam
5705 DeclContextNameLookupVisitor(ASTReader &Reader, SmallVectorImpl<const DeclContext *> &Contexts, DeclarationName Name, SmallVectorImpl<NamedDecl *> &Decls) argument
5832 SmallVectorImpl<const DeclContext *> &Contexts; member in class:__anon3472::DeclContextAllNamesVisitor
5837 DeclContextAllNamesVisitor(ASTReader &Reader, SmallVectorImpl<const DeclContext *> &Contexts, DeclsMap &Decls, bool VisitAll) argument
5896 SmallVector<const DeclContext *, 2> Contexts; local
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclBase.h1238 /// The \c Contexts parameter will contain both definitions of N.
1240 /// \param Contexts Will be cleared and set to the set of declaration
1244 void collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts);

Completed in 119 milliseconds