[clang] [Serialization] Fix swapped PPOpts/ExistingPPOpts parameters. NFC.
authorMartin Storsjö <martin@martin.st>
Wed, 25 May 2022 12:07:18 +0000 (15:07 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 8 Jul 2022 21:11:45 +0000 (00:11 +0300)
commitb069801ffb6d11143c2b611a220827120113c7a1
tree6cf926fb549b036ff9d4e6b6d1ea5ddab1da0a88
parentdd74d3117de0fd96383beeb4b4b913efcb9f4328
[clang] [Serialization] Fix swapped PPOpts/ExistingPPOpts parameters. NFC.

The two first parameters of checkPreprocessorOptions are "PPOpts, ExistingPPOpts".
All other callers of the function pass them consistently.

This avoids confusion when working on the code.

Differential Revision: https://reviews.llvm.org/D129277
clang/lib/Serialization/ASTReader.cpp