Skip to content

Commit 751db4b

Browse files
authored
[clang] Move Sema::WarnedStackExhausted from public to private. (llvm#111799)
1 parent 52e5683 commit 751db4b

File tree

1 file changed

+2
-2
lines changed
  • clang/include/clang/Sema

1 file changed

+2
-2
lines changed

clang/include/clang/Sema/Sema.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,8 +872,6 @@ class Sema final : public SemaBase {
872872
/// For example, user-defined classes, built-in "id" type, etc.
873873
Scope *TUScope;
874874

875-
bool WarnedStackExhausted = false;
876-
877875
void incrementMSManglingNumber() const {
878876
return CurScope->incrementMSManglingNumber();
879877
}
@@ -1185,6 +1183,8 @@ class Sema final : public SemaBase {
11851183
std::optional<std::unique_ptr<DarwinSDKInfo>> CachedDarwinSDKInfo;
11861184
bool WarnedDarwinSDKInfoMissing = false;
11871185

1186+
bool WarnedStackExhausted = false;
1187+
11881188
Sema(const Sema &) = delete;
11891189
void operator=(const Sema &) = delete;
11901190

0 commit comments

Comments
 (0)