Home
last modified time | relevance | path

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

123

/external/clang/lib/Frontend/
DMultiplexConsumer.cpp238 for (auto &Consumer : Consumers) { in MultiplexConsumer() local
239 if (auto *mutationListener = Consumer->GetASTMutationListener()) in MultiplexConsumer()
241 if (auto *serializationListener = Consumer->GetASTDeserializationListener()) in MultiplexConsumer()
258 for (auto &Consumer : Consumers) in Initialize() local
259 Consumer->Initialize(Context); in Initialize()
264 for (auto &Consumer : Consumers) in HandleTopLevelDecl() local
265 Continue = Continue && Consumer->HandleTopLevelDecl(D); in HandleTopLevelDecl()
270 for (auto &Consumer : Consumers) in HandleInlineMethodDefinition() local
271 Consumer->HandleInlineMethodDefinition(D); in HandleInlineMethodDefinition()
275 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;
269 void ChainedIncludesSource::StartTranslationUnit(ASTConsumer *Consumer) { in StartTranslationUnit() argument
270 return getFinalReader().StartTranslationUnit(Consumer); in StartTranslationUnit()
/external/clang/lib/Parse/
DParseAST.cpp99 void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer, in ParseAST() argument
106 new Sema(PP, Ctx, *Consumer, TUKind, CompletionConsumer)); in ParseAST()
125 ASTConsumer *Consumer = &S.getASTConsumer(); in ParseAST() local
149 External->StartTranslationUnit(Consumer); in ParseAST()
159 if (ADecl && !Consumer->HandleTopLevelDecl(ADecl.get())) in ParseAST()
166 Consumer->HandleTopLevelDecl(DeclGroupRef(D)); in ParseAST()
168 Consumer->HandleTranslationUnit(S.getASTContext()); in ParseAST()
177 Consumer->PrintStats(); in ParseAST()
DRAIIObjectsForParser.h368 SourceLocation (Parser::*Consumer)();
395 Consumer = &Parser::ConsumeBrace;
399 Consumer = &Parser::ConsumeParen;
404 Consumer = &Parser::ConsumeBracket;
418 LOpen = (P.*Consumer)(); in consumeOpen()
430 LClose = (P.*Consumer)(); in consumeClose()
436 LClose = (P.*Consumer)(); in consumeClose()
/external/llvm/tools/llvm-diff/
DDiffLog.h23 class Consumer; variable
30 Consumer *consumer;
41 LogBuilder(Consumer &c, StringRef Format) : consumer(&c), Format(Format) {} in LogBuilder()
65 Consumer &consumer;
68 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/
DdeThreadSafeRingBuffer.cpp56 class Consumer : public Thread class
59 Consumer (ThreadSafeRingBuffer<Message>& buffer, int numProducers) in Consumer() function in de::__anon34f30c600111::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()
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()
/external/clang/lib/Sema/
DSemaLookup.cpp3351 VisibleDeclConsumer &Consumer, in LookupVisibleDecls() argument
3380 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in LookupVisibleDecls()
3397 Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); in LookupVisibleDecls()
3408 QualifiedNameLookup, InBaseClass, Consumer, Visited); in LookupVisibleDecls()
3451 true, Consumer, Visited); in LookupVisibleDecls()
3461 Consumer, Visited); in LookupVisibleDecls()
3467 LookupVisibleDecls(I, Result, QualifiedNameLookup, false, Consumer, in LookupVisibleDecls()
3475 true, Consumer, Visited); in LookupVisibleDecls()
3483 QualifiedNameLookup, InBaseClass, Consumer, Visited); in LookupVisibleDecls()
3488 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()
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DErrorReporter.java38 import com.intellij.util.Consumer;
58 final Consumer<SubmittedReportInfo> consumer) { in submit()
89 Consumer<String> successCallback = new Consumer<String>() { in submit()
103 Consumer<Exception> errorCallback = new Consumer<Exception>() { in submit()
DGithubFeedbackTask.java27 import com.intellij.util.Consumer;
42 private final Consumer<String> myCallback;
43 private final Consumer<Exception> myErrorCallback;
50 final Consumer<String> callback, in GithubFeedbackTask()
51 final Consumer<Exception> errorCallback) { in GithubFeedbackTask()
/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp63 return llvm::make_unique<Consumer>(); in CreateASTConsumer()
67 class Consumer : public clang::ASTConsumer { class in __anonae4f180a0111::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.h338 Consumer = std::move(other.Consumer);
/external/clang/unittests/Tooling/
DToolingTest.cpp421 TestDiagnosticConsumer Consumer; in TEST() local
422 Tool.setDiagnosticConsumer(&Consumer); in TEST()
426 EXPECT_EQ(1u, Consumer.NumDiagnosticsSeen); in TEST()
433 TestDiagnosticConsumer Consumer; in TEST() local
434 Tool.setDiagnosticConsumer(&Consumer); in TEST()
438 EXPECT_EQ(1u, Consumer.NumDiagnosticsSeen); in TEST()
/external/clang/include/clang/Frontend/
DCompilerInstance.h100 std::unique_ptr<ASTConsumer> Consumer; variable
473 bool hasASTConsumer() const { return (bool)Consumer; } in hasASTConsumer()
476 assert(Consumer && "Compiler instance has no AST consumer!"); in getASTConsumer()
477 return *Consumer; in getASTConsumer()
482 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.cpp312 ObjCMigrateASTConsumer &Consumer; member in __anon4eb04f6a0211::ObjCMigrator
317 : Consumer(consumer), PMap(PMap) { } in ObjCMigrator()
323 if (Consumer.ASTMigrateActions & FrontendOptions::ObjCMT_Literals) { in VisitObjCMessageExpr()
324 edit::Commit commit(*Consumer.Editor); in VisitObjCMessageExpr()
325 edit::rewriteToObjCLiteralSyntax(E, *Consumer.NSAPIObj, commit, &PMap); in VisitObjCMessageExpr()
326 Consumer.Editor->commit(commit); in VisitObjCMessageExpr()
329 if (Consumer.ASTMigrateActions & FrontendOptions::ObjCMT_Subscripting) { in VisitObjCMessageExpr()
330 edit::Commit commit(*Consumer.Editor); in VisitObjCMessageExpr()
331 edit::rewriteToObjCSubscriptSyntax(E, *Consumer.NSAPIObj, commit); in VisitObjCMessageExpr()
332 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.cpp218 ASTConsumer Consumer; in PragmaOpenCLExtensionCall() local
219 Sema S(PP, Context, Consumer); in PragmaOpenCLExtensionCall()
/external/clang/lib/AST/
DExternalASTSource.cpp62 void ExternalASTSource::StartTranslationUnit(ASTConsumer *Consumer) {} in StartTranslationUnit() argument

123