Commit af023844 authored by Martin Smith's avatar Martin Smith
Browse files

qdoc: Hide clang errors for \fn commands in prepare phase


When clang parsing errors were detected in the prepare phase, they were
being printed without the preceding qdoc warning that shows where they
occur in the source file. The qdoc warning was not printed because qdoc
was running in the prepare phase, but the clang errors were printed, and
that was wrong. This update ensures that the clang parsing errors are only
printed in the generate phase (or in singleexec mode).

Change-Id: I011fa06626a5e9930fde329113d2bbac8830473b
Reviewed-by: default avatarTopi Reiniö <topi.reinio@qt.io>
parent e3d22854
No related merge requests found
Showing with 1 addition and 1 deletion
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment