[all-commits] [llvm/llvm-project] ee3a30: [clang] Move state out of `PreprocessorOptions` (2...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Fri Mar 29 12:08:09 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ee3a302abaa091e550a80f79694e963d1b5d0b7b
https://github.com/llvm/llvm-project/commit/ee3a302abaa091e550a80f79694e963d1b5d0b7b
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2024-03-29 (Fri, 29 Mar 2024)
Changed paths:
M clang/include/clang/Frontend/CompilerInstance.h
M clang/include/clang/Lex/PreprocessorOptions.h
M clang/lib/Frontend/CompilerInstance.cpp
Log Message:
-----------
[clang] Move state out of `PreprocessorOptions` (2/n) (#87099)
An instance of `PreprocessorOptions` is part of `CompilerInvocation`
which is supposed to be a value type. The `FailedModules` member is
problematic, since it's essentially a shared state used by multiple
`CompilerInstance` objects, and not really a preprocessor option. Let's
move it into `CompilerInstance` instead.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list