@@ -189,7 +189,7 @@ class CompilerInstance : public ModuleLoader {
189
189
~CompilerInstance () override ;
190
190
191
191
// / @name High-Level Operations
192
- // / {
192
+ // / @ {
193
193
194
194
// / ExecuteAction - Execute the provided action against the compiler's
195
195
// / CompilerInvocation object.
@@ -223,9 +223,9 @@ class CompilerInstance : public ModuleLoader {
223
223
// / Load the list of plugins requested in the \c FrontendOptions.
224
224
void LoadRequestedPlugins ();
225
225
226
- // / }
226
+ // / @ }
227
227
// / @name Compiler Invocation and Options
228
- // / {
228
+ // / @ {
229
229
230
230
bool hasInvocation () const { return Invocation != nullptr ; }
231
231
@@ -248,9 +248,9 @@ class CompilerInstance : public ModuleLoader {
248
248
BuildGlobalModuleIndex = Build;
249
249
}
250
250
251
- // / }
251
+ // / @ }
252
252
// / @name Forwarding Methods
253
- // / {
253
+ // / @ {
254
254
255
255
AnalyzerOptionsRef getAnalyzerOpts () {
256
256
return Invocation->getAnalyzerOpts ();
@@ -329,9 +329,9 @@ class CompilerInstance : public ModuleLoader {
329
329
return Invocation->getTargetOpts ();
330
330
}
331
331
332
- // / }
332
+ // / @ }
333
333
// / @name Diagnostics Engine
334
- // / {
334
+ // / @ {
335
335
336
336
bool hasDiagnostics () const { return Diagnostics != nullptr ; }
337
337
@@ -355,9 +355,9 @@ class CompilerInstance : public ModuleLoader {
355
355
return *Diagnostics->getClient ();
356
356
}
357
357
358
- // / }
358
+ // / @ }
359
359
// / @name VerboseOutputStream
360
- // / }
360
+ // / @{
361
361
362
362
// / Replace the current stream for verbose output.
363
363
void setVerboseOutputStream (raw_ostream &Value);
@@ -370,9 +370,9 @@ class CompilerInstance : public ModuleLoader {
370
370
return *VerboseOutputStream;
371
371
}
372
372
373
- // / }
373
+ // / @ }
374
374
// / @name Target Info
375
- // / {
375
+ // / @ {
376
376
377
377
bool hasTarget () const { return Target != nullptr ; }
378
378
@@ -389,9 +389,9 @@ class CompilerInstance : public ModuleLoader {
389
389
// / Replace the current Target.
390
390
void setTarget (TargetInfo *Value);
391
391
392
- // / }
392
+ // / @ }
393
393
// / @name AuxTarget Info
394
- // / {
394
+ // / @ {
395
395
396
396
TargetInfo *getAuxTarget () const { return AuxTarget.get (); }
397
397
@@ -401,15 +401,15 @@ class CompilerInstance : public ModuleLoader {
401
401
// Create Target and AuxTarget based on current options
402
402
bool createTarget ();
403
403
404
- // / }
404
+ // / @ }
405
405
// / @name Virtual File System
406
- // / {
406
+ // / @ {
407
407
408
408
llvm::vfs::FileSystem &getVirtualFileSystem () const ;
409
409
410
- // / }
410
+ // / @ }
411
411
// / @name File Manager
412
- // / {
412
+ // / @ {
413
413
414
414
bool hasFileManager () const { return FileMgr != nullptr ; }
415
415
@@ -432,9 +432,9 @@ class CompilerInstance : public ModuleLoader {
432
432
// / Replace the current file manager and virtual file system.
433
433
void setFileManager (FileManager *Value);
434
434
435
- // / }
435
+ // / @ }
436
436
// / @name Source Manager
437
- // / {
437
+ // / @ {
438
438
439
439
bool hasSourceManager () const { return SourceMgr != nullptr ; }
440
440
@@ -457,9 +457,9 @@ class CompilerInstance : public ModuleLoader {
457
457
// / setSourceManager - Replace the current source manager.
458
458
void setSourceManager (SourceManager *Value);
459
459
460
- // / }
460
+ // / @ }
461
461
// / @name Preprocessor
462
- // / {
462
+ // / @ {
463
463
464
464
bool hasPreprocessor () const { return PP != nullptr ; }
465
465
@@ -478,9 +478,9 @@ class CompilerInstance : public ModuleLoader {
478
478
// / Replace the current preprocessor.
479
479
void setPreprocessor (std::shared_ptr<Preprocessor> Value);
480
480
481
- // / }
481
+ // / @ }
482
482
// / @name ASTContext
483
- // / {
483
+ // / @ {
484
484
485
485
bool hasASTContext () const { return Context != nullptr ; }
486
486
@@ -506,9 +506,9 @@ class CompilerInstance : public ModuleLoader {
506
506
// / of S.
507
507
void setSema (Sema *S);
508
508
509
- // / }
509
+ // / @ }
510
510
// / @name ASTConsumer
511
- // / {
511
+ // / @ {
512
512
513
513
bool hasASTConsumer () const { return (bool )Consumer; }
514
514
@@ -525,9 +525,9 @@ class CompilerInstance : public ModuleLoader {
525
525
// / takes ownership of \p Value.
526
526
void setASTConsumer (std::unique_ptr<ASTConsumer> Value);
527
527
528
- // / }
528
+ // / @ }
529
529
// / @name Semantic analysis
530
- // / {
530
+ // / @ {
531
531
bool hasSema () const { return (bool )TheSema; }
532
532
533
533
Sema &getSema () const {
@@ -538,9 +538,9 @@ class CompilerInstance : public ModuleLoader {
538
538
std::unique_ptr<Sema> takeSema ();
539
539
void resetAndLeakSema ();
540
540
541
- // / }
541
+ // / @ }
542
542
// / @name Module Management
543
- // / {
543
+ // / @ {
544
544
545
545
IntrusiveRefCntPtr<ASTReader> getASTReader () const ;
546
546
void setASTReader (IntrusiveRefCntPtr<ASTReader> Reader);
@@ -581,9 +581,9 @@ class CompilerInstance : public ModuleLoader {
581
581
return *Reader;
582
582
}
583
583
584
- // / }
584
+ // / @ }
585
585
// / @name Code Completion
586
- // / {
586
+ // / @ {
587
587
588
588
bool hasCodeCompletionConsumer () const { return (bool )CompletionConsumer; }
589
589
@@ -597,9 +597,9 @@ class CompilerInstance : public ModuleLoader {
597
597
// / the compiler instance takes ownership of \p Value.
598
598
void setCodeCompletionConsumer (CodeCompleteConsumer *Value);
599
599
600
- // / }
600
+ // / @ }
601
601
// / @name Frontend timer
602
- // / {
602
+ // / @ {
603
603
604
604
bool hasFrontendTimer () const { return (bool )FrontendTimer; }
605
605
@@ -608,19 +608,19 @@ class CompilerInstance : public ModuleLoader {
608
608
return *FrontendTimer;
609
609
}
610
610
611
- // / }
611
+ // / @ }
612
612
// / @name Output Files
613
- // / {
613
+ // / @ {
614
614
615
615
// / clearOutputFiles - Clear the output file list. The underlying output
616
616
// / streams must have been closed beforehand.
617
617
// /
618
618
// / \param EraseFiles - If true, attempt to erase the files from disk.
619
619
void clearOutputFiles (bool EraseFiles);
620
620
621
- // / }
621
+ // / @ }
622
622
// / @name Construction Utility Methods
623
- // / {
623
+ // / @ {
624
624
625
625
// / Create the diagnostics engine using the invocation's diagnostic options
626
626
// / and replace any existing one with it.
@@ -769,9 +769,9 @@ class CompilerInstance : public ModuleLoader {
769
769
public:
770
770
std::unique_ptr<raw_pwrite_stream> createNullOutputFile ();
771
771
772
- // / }
772
+ // / @ }
773
773
// / @name Initialization Utility Methods
774
- // / {
774
+ // / @ {
775
775
776
776
// / InitializeSourceManager - Initialize the source manager to set InputFile
777
777
// / as the main file.
@@ -788,7 +788,7 @@ class CompilerInstance : public ModuleLoader {
788
788
FileManager &FileMgr,
789
789
SourceManager &SourceMgr);
790
790
791
- // / }
791
+ // / @ }
792
792
793
793
void setOutputStream (std::unique_ptr<llvm::raw_pwrite_stream> OutStream) {
794
794
OutputStream = std::move (OutStream);
0 commit comments