We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Parser::ScopeCacheSize
1 parent a24457e commit a7402b0Copy full SHA for a7402b0
clang/include/clang/Parse/Parser.h
@@ -94,7 +94,7 @@ class Parser : public CodeCompletionHandler {
94
StackExhaustionHandler StackHandler;
95
96
/// ScopeCache - Cache scopes to reduce malloc traffic.
97
- enum { ScopeCacheSize = 16 };
+ static constexpr int ScopeCacheSize = 16;
98
unsigned NumCachedScopes;
99
Scope *ScopeCache[ScopeCacheSize];
100
0 commit comments