forked from OSchip/llvm-project
parent
26403acef7
commit
f0708dee83
|
@ -486,8 +486,7 @@ void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor& PP) {
|
|||
|
||||
// Temporarily change the diagnostics object so that we ignore any generated
|
||||
// diagnostics from this pass.
|
||||
IgnoringDiagClient TmpDC;
|
||||
Diagnostic TmpDiags(&TmpDC);
|
||||
Diagnostic TmpDiags(new IgnoringDiagClient);
|
||||
|
||||
// FIXME: This is a huge hack; we reuse the input preprocessor because we want
|
||||
// its state, but we aren't actually changing it (we hope). This should really
|
||||
|
|
Loading…
Reference in New Issue