mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-05 07:15:39 +02:00
Minor adjustment to tracing.
Change-Id: I16910a0d8e3fb78ae9fc74fa3b0a87b0c72fc37a
This commit is contained in:
parent
a98b07b8d3
commit
68a8cf3205
1 changed files with 1 additions and 1 deletions
|
@ -685,7 +685,7 @@ public abstract class AbstractGNUSourceCodeParser implements ISourceCodeParser {
|
|||
if (log.isTracing()) {
|
||||
ITranslationUnit tu = ast.getOriginatingTranslationUnit();
|
||||
String name = tu == null ? "<unknown>" : tu.getElementName(); //$NON-NLS-1$
|
||||
String message = String.format("Parsed %s: %d ms %s. Ambiguity resolution: %d ms", //$NON-NLS-1$
|
||||
String message = String.format("Parsed %s: %d ms%s. Ambiguity resolution: %d ms", //$NON-NLS-1$
|
||||
name, t1 - t0, parsePassed ? "" : " - parse failure", System.currentTimeMillis() - t1); //$NON-NLS-1$//$NON-NLS-2$
|
||||
log.traceLog(message);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue