aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/tutorial/MyFirstLanguageFrontend
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2023-10-18 12:04:54 -0400
committerAaron Ballman <aaron@aaronballman.com>2023-10-18 12:16:33 -0400
commite7b827e11bd36cb7056538d05761039af9ced60d (patch)
treea3b77fc8d81d82c7bf215f38df92a2a250811d8c /llvm/docs/tutorial/MyFirstLanguageFrontend
parent98191d7c160cc982ac3f4db234da080e2bd8a192 (diff)
downloadllvm-e7b827e11bd36cb7056538d05761039af9ced60d.zip
llvm-e7b827e11bd36cb7056538d05761039af9ced60d.tar.gz
llvm-e7b827e11bd36cb7056538d05761039af9ced60d.tar.bz2
Add a FIXME comment; NFC
The constant expression engines use a list of note diagnostics to report back whether an evaluation is a valid constant expression or not. This requires the engines to generate those note diagnostics, and that can be expensive in cases where we're converting an APValue to a string as a streamed argument to the note. If we're going to display the note, then that expense is warranted. However, there are operations looking for a yes/no answer to whether something is a constant expression and won't display the diagnostics at all. Those uses are paying an expense they shouldn't have to.
Diffstat (limited to 'llvm/docs/tutorial/MyFirstLanguageFrontend')
0 files changed, 0 insertions, 0 deletions