Home
last modified time | relevance | path

Searched refs:Consumer (Results 1 – 25 of 52) sorted by relevance

123

/external/clang/lib/Frontend/
DMultiplexConsumer.cpp213 for (auto &Consumer : Consumers) { in MultiplexConsumer() local
214 if (auto *mutationListener = Consumer->GetASTMutationListener()) in MultiplexConsumer()
216 if (auto *serializationListener = Consumer->GetASTDeserializationListener()) in MultiplexConsumer()
233 for (auto &Consumer : Consumers) in Initialize() local
234 Consumer->Initialize(Context); in Initialize()
239 for (auto &Consumer : Consumers) in HandleTopLevelDecl() local
240 Continue = Continue && Consumer->HandleTopLevelDecl(D); in HandleTopLevelDecl()
245 for (auto &Consumer : Consumers) in HandleInlineMethodDefinition() local
246 Consumer->HandleInlineMethodDefinition(D); in HandleInlineMethodDefinition()
250 for (auto &Consumer : Consumers) in HandleCXXStaticMemberVarInstantiation() local
[all …]
DFrontendAction.cpp140 std::unique_ptr<ASTConsumer> Consumer = CreateASTConsumer(CI, InFile); in CreateWrappedASTConsumer() local
141 if (!Consumer) in CreateWrappedASTConsumer()
145 return Consumer; in CreateWrappedASTConsumer()
150 Consumers.push_back(std::move(Consumer)); in CreateWrappedASTConsumer()
318 std::unique_ptr<ASTConsumer> Consumer = in BeginSourceFile() local
320 if (!Consumer) in BeginSourceFile()
325 CI.getASTContext().setASTMutationListener(Consumer->GetASTMutationListener()); in BeginSourceFile()
339 Consumer->GetASTDeserializationListener(); in BeginSourceFile()
362 CI.setASTConsumer(std::move(Consumer)); in BeginSourceFile()
DChainedIncludesSource.cpp58 void StartTranslationUnit(ASTConsumer *Consumer) override;
263 void ChainedIncludesSource::StartTranslationUnit(ASTConsumer *Consumer) { in StartTranslationUnit() argument
264 return getFinalReader().StartTranslationUnit(Consumer); in StartTranslationUnit()
/external/clang/lib/Parse/
DParseAST.cpp84 void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer, in ParseAST() argument
91 new Sema(PP, Ctx, *Consumer, TUKind, CompletionConsumer)); in ParseAST()
110 ASTConsumer *Consumer = &S.getASTConsumer(); in ParseAST() local
132 External->StartTranslationUnit(Consumer); in ParseAST()
142 if (ADecl && !Consumer->HandleTopLevelDecl(ADecl.get())) in ParseAST()
149 Consumer->HandleTopLevelDecl(DeclGroupRef(D)); in ParseAST()
151 Consumer->HandleTranslationUnit(S.getASTContext()); in ParseAST()
160 Consumer->PrintStats(); in ParseAST()
DRAIIObjectsForParser.h362 SourceLocation (Parser::*Consumer)();
389 Consumer = &Parser::ConsumeBrace;
393 Consumer = &Parser::ConsumeParen;
398 Consumer = &Parser::ConsumeBracket;
412 LOpen = (P.*Consumer)(); in consumeOpen()
424 LClose = (P.*Consumer)(); in consumeClose()
/external/llvm/tools/llvm-diff/
DDiffLog.h23 class Consumer; variable
30 Consumer &consumer;
41 LogBuilder(Consumer &c, StringRef Format) in LogBuilder()
61 Consumer &consumer;
64 DiffLogBuilder(Consumer &c) : consumer(c) {} in DiffLogBuilder()
DDiffConsumer.h30 class Consumer {
52 virtual ~Consumer() {} in ~Consumer()
55 class DiffConsumer : public Consumer {
DDifferenceEngine.h61 DifferenceEngine(Consumer &consumer) in DifferenceEngine()
72 Consumer& getConsumer() const { return consumer; } in getConsumer()
86 Consumer &consumer;
Dllvm-diff.cpp80 DiffConsumer Consumer; in main() local
81 DifferenceEngine Engine(Consumer); in main()
93 return Consumer.hadDifferences(); in main()
/external/deqp/framework/delibs/decpp/
DdeBlockBuffer.cpp59 class Consumer : public Thread class
62 Consumer (MessageBuffer& buffer, int numProducers) in Consumer() function in de::BlockBufferBasicTest::Consumer
172 vector<Consumer*> consumers; in runTest()
178 consumers.push_back(new Consumer(buffer, numProducers)); in runTest()
181 for (vector<Consumer*>::iterator i = consumers.begin(); i != consumers.end(); i++) in runTest()
199 for (vector<Consumer*>::iterator i = consumers.begin(); i != consumers.end(); i++) in runTest()
218 for (vector<Consumer*>::iterator i = consumers.begin(); i != consumers.end(); i++) in runTest()
265 class Consumer : public Thread class
268 Consumer (BlockBuffer<deUint8>* buffer, deUint32 seed) in Consumer() function in de::BlockBufferCancelTest::Consumer
314 threads.push_back(new Consumer(&buffer, rnd.getUint32())); in runTest()
DdeThreadSafeRingBuffer.cpp56 class Consumer : public Thread class
59 Consumer (ThreadSafeRingBuffer<Message>& buffer, int numProducers) in Consumer() function in de::__anondb4898ff0111::Consumer
135 vector<Consumer*> consumers; in ThreadSafeRingBuffer_selfTest()
141 consumers.push_back(new Consumer(buffer, numProducers)); in ThreadSafeRingBuffer_selfTest()
144 for (vector<Consumer*>::iterator i = consumers.begin(); i != consumers.end(); i++) in ThreadSafeRingBuffer_selfTest()
160 for (vector<Consumer*>::iterator i = consumers.begin(); i != consumers.end(); i++) in ThreadSafeRingBuffer_selfTest()
179 for (vector<Consumer*>::iterator i = consumers.begin(); i != consumers.end(); i++) in ThreadSafeRingBuffer_selfTest()
/external/clang/lib/Sema/
DSemaLookup.cpp3030 VisibleDeclConsumer &Consumer, in LookupVisibleDecls() argument
3059 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in LookupVisibleDecls()
3076 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in LookupVisibleDecls()
3087 QualifiedNameLookup, InBaseClass, Consumer, Visited); in LookupVisibleDecls()
3130 true, Consumer, Visited); in LookupVisibleDecls()
3140 Consumer, Visited); in LookupVisibleDecls()
3146 LookupVisibleDecls(I, Result, QualifiedNameLookup, false, Consumer, in LookupVisibleDecls()
3154 true, Consumer, Visited); in LookupVisibleDecls()
3162 QualifiedNameLookup, InBaseClass, Consumer, Visited); in LookupVisibleDecls()
3167 LookupVisibleDecls(I, Result, QualifiedNameLookup, false, Consumer, in LookupVisibleDecls()
[all …]
DSemaAttr.cpp278 Consumer.HandleLinkerOptionPragma(Arg); in ActOnPragmaMSComment()
281 Consumer.HandleDependentLibrary(Arg); in ActOnPragmaMSComment()
293 Consumer.HandleDetectMismatch(Name, Value); in ActOnPragmaDetectMismatch()
DSemaCodeComplete.cpp3307 CodeCompletionDeclConsumer Consumer(Results, CurContext); in CodeCompleteOrdinaryName() local
3308 LookupVisibleDecls(S, LookupOrdinaryName, Consumer, in CodeCompleteOrdinaryName()
3377 CodeCompletionDeclConsumer Consumer(Results, CurContext); in CodeCompleteDeclSpec() local
3378 LookupVisibleDecls(S, LookupNestedNameSpecifierName, Consumer, in CodeCompleteDeclSpec()
3447 CodeCompletionDeclConsumer Consumer(Results, CurContext); in CodeCompleteExpression() local
3448 LookupVisibleDecls(S, LookupOrdinaryName, Consumer, in CodeCompleteExpression()
3626 CodeCompletionDeclConsumer Consumer(Results, CurContext); in CodeCompleteMemberReferenceExpr() local
3627 LookupVisibleDecls(Record->getDecl(), LookupMemberName, Consumer, in CodeCompleteMemberReferenceExpr()
3676 CodeCompletionDeclConsumer Consumer(Results, CurContext); in CodeCompleteMemberReferenceExpr() local
3678 LookupVisibleDecls(Class, LookupMemberName, Consumer, in CodeCompleteMemberReferenceExpr()
[all …]
/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp63 return llvm::make_unique<Consumer>(); in CreateASTConsumer()
67 class Consumer : public clang::ASTConsumer { class in __anon678b81e90111::EvaluateConstantInitializersAction
69 ~Consumer() override {} in ~Consumer()
/external/clang/include/clang/Sema/
DSemaConsumer.h42 static bool classof(const ASTConsumer *Consumer) { in classof() argument
43 return Consumer->SemaConsumer; in classof()
DSemaInternal.h326 Consumer = std::move(other.Consumer);
/external/clang/unittests/Tooling/
DToolingTest.cpp324 TestDiagnosticConsumer Consumer; in TEST() local
325 Tool.setDiagnosticConsumer(&Consumer); in TEST()
329 EXPECT_EQ(1u, Consumer.NumDiagnosticsSeen); in TEST()
336 TestDiagnosticConsumer Consumer; in TEST() local
337 Tool.setDiagnosticConsumer(&Consumer); in TEST()
341 EXPECT_EQ(1u, Consumer.NumDiagnosticsSeen); in TEST()
/external/clang/include/clang/Frontend/
DCompilerInstance.h95 std::unique_ptr<ASTConsumer> Consumer; variable
456 bool hasASTConsumer() const { return (bool)Consumer; } in hasASTConsumer()
459 assert(Consumer && "Compiler instance has no AST consumer!"); in getASTConsumer()
460 return *Consumer; in getASTConsumer()
465 std::unique_ptr<ASTConsumer> takeASTConsumer() { return std::move(Consumer); } in takeASTConsumer()
/external/lldb/include/lldb/Expression/
DClangASTSource.h192 void StartTranslationUnit (clang::ASTConsumer *Consumer);
296 void StartTranslationUnit (clang::ASTConsumer *Consumer) in StartTranslationUnit() argument
298 return m_original.StartTranslationUnit(Consumer); in StartTranslationUnit()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp322 ObjCMigrateASTConsumer &Consumer; member in __anon04dd42e90211::ObjCMigrator
327 : Consumer(consumer), PMap(PMap) { } in ObjCMigrator()
333 if (Consumer.ASTMigrateActions & FrontendOptions::ObjCMT_Literals) { in VisitObjCMessageExpr()
334 edit::Commit commit(*Consumer.Editor); in VisitObjCMessageExpr()
335 edit::rewriteToObjCLiteralSyntax(E, *Consumer.NSAPIObj, commit, &PMap); in VisitObjCMessageExpr()
336 Consumer.Editor->commit(commit); in VisitObjCMessageExpr()
339 if (Consumer.ASTMigrateActions & FrontendOptions::ObjCMT_Subscripting) { in VisitObjCMessageExpr()
340 edit::Commit commit(*Consumer.Editor); in VisitObjCMessageExpr()
341 edit::rewriteToObjCSubscriptSyntax(E, *Consumer.NSAPIObj, commit); in VisitObjCMessageExpr()
342 Consumer.Editor->commit(commit); in VisitObjCMessageExpr()
[all …]
/external/clang/include/clang/StaticAnalyzer/Frontend/
DAnalysisConsumer.h36 virtual void AddDiagnosticConsumer(PathDiagnosticConsumer *Consumer) = 0;
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp217 ASTConsumer Consumer; in PragmaOpenCLExtensionCall() local
218 Sema S(PP, Context, Consumer); in PragmaOpenCLExtensionCall()
/external/clang/lib/AST/
DExternalASTSource.cpp41 void ExternalASTSource::StartTranslationUnit(ASTConsumer *Consumer) {} in StartTranslationUnit() argument
/external/clang/test/SemaCXX/
Doverload-call.cpp562 struct Consumer { struct
567 Consumer c;

123