forked from OSchip/llvm-project
Fix docs and comments for max_tokens_total pragma
This commit is contained in:
parent
f6d98429fc
commit
74734e809a
|
@ -1178,7 +1178,7 @@ the token limit, which can be set in three ways:
|
|||
which works like and overrides the ``-fmax-tokens=`` flag:
|
||||
|
||||
.. code-block: c++
|
||||
#pragma clang max_file_tokens 1234
|
||||
#pragma clang max_tokens_total 1234
|
||||
|
||||
These limits can be helpful in limiting code growth through included files.
|
||||
|
||||
|
|
|
@ -3336,7 +3336,7 @@ void PragmaMaxTokensHereHandler::HandlePragma(Preprocessor &PP,
|
|||
}
|
||||
}
|
||||
|
||||
// Handle '#pragma clang max_file_tokens 12345'.
|
||||
// Handle '#pragma clang max_tokens_total 12345'.
|
||||
void PragmaMaxTokensTotalHandler::HandlePragma(Preprocessor &PP,
|
||||
PragmaIntroducer Introducer,
|
||||
Token &Tok) {
|
||||
|
|
Loading…
Reference in New Issue