This patch correctly reports success/failure of ParseLangArgs. Besides being consistent with other Parse functions, this is required to make round-tripping of LangOptions work.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang/lib/Frontend/CompilerInvocation.cpp | ||
|---|---|---|
| 3082 | Would this avoid the changes above? return Success && !Diags.hasErrorOccurred(); ? Alternatively, might it be cleaner to shove the Success = false into a helper lambda or something? | |
| clang/lib/Frontend/CompilerInvocation.cpp | ||
|---|---|---|
| 3082 | I've implemented something similar in my latest update. I think it works out pretty well, thanks for the suggestion. | |
Would this avoid the changes above?
?
Alternatively, might it be cleaner to shove the Success = false into a helper lambda or something?