[all-commits] [llvm/llvm-project] b06980: [clang] [Serialization] Fix swapped PPOpts/Existin...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Jul 8 14:12:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b069801ffb6d11143c2b611a220827120113c7a1
      https://github.com/llvm/llvm-project/commit/b069801ffb6d11143c2b611a220827120113c7a1
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-07-09 (Sat, 09 Jul 2022)

  Changed paths:
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list