Displaying 2 results from an estimated 2 matches for "ptextdiagnosticprinter".
Did you mean:
textdiagnosticprinter
2012 Sep 21
2
[LLVMdev] Clang API parsing of the destructor
...'ve been searching all over for a missing option/configuration.
Here is my clang API usage:
// Include appropriate headers.
int main()
{
clang::DiagnosticOptions diagnosticOptions;
diagnosticOptions.ShowColors=1;
diagnosticOptions.ShowOptionNames=1;
clang::TextDiagnosticPrinter *pTextDiagnosticPrinter =
new clang::TextDiagnosticPrinter(
llvm::outs(),
diagnosticOptions);
llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> pDiagIDs;
clang::DiagnosticsEngine *pDiagnosticsEngine =
new clang::DiagnosticsEngine(pDiagIDs, pTextDiagnosticPrinter);
clang:...
2012 Sep 21
0
[LLVMdev] Clang API parsing of the destructor
...guration.****
>
> Here is my clang API usage:****
>
> // Include appropriate headers.
> int main()
> {
> clang::DiagnosticOptions diagnosticOptions;
> diagnosticOptions.ShowColors=1;
> diagnosticOptions.ShowOptionNames=1;
> clang::TextDiagnosticPrinter *pTextDiagnosticPrinter =
> new clang::TextDiagnosticPrinter(
> llvm::outs(),
> diagnosticOptions);
> llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> pDiagIDs;
> clang::DiagnosticsEngine *pDiagnosticsEngine =
> new clang::DiagnosticsEngine(pDiagIDs, pTextD...