Age | Commit message (Collapse) | Author |
|
|
|
This also moves most of the logic that was in handle_preprocessor_line
into handle_preprocessor_keyword.
|
|
SPDX License Identifiers are a more compact / standardized
way of representing file license information.
See: https://spdx.dev/resources/use/#identifiers
This was done with the `ambr` search and replace tool.
ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
|
|
Under some circumstances we need to ignore unsupported preprocessor
keywords instead of crashing the processing, for example during live
parsing in HackStudio.
|
|
.. definitions.
|
|
Preprocessor definitions now appear in the AutoComplete suggestions box
as well as in the Locator.
|
|
|
|
Closes #5634
|
|
However, we currently always treat the expression in #elif as true.
|
|
(...and ASSERT_NOT_REACHED => VERIFY_NOT_REACHED)
Since all of these checks are done in release builds as well,
let's rename them to VERIFY to prevent confusion, as everyone is
used to assertions being compiled out in release.
We can introduce a new ASSERT macro that is specifically for debug
checks, but I'm doing this wholesale conversion first since we've
accumulated thousands of these already, and it's not immediately
obvious which ones are suitable for ASSERT.
|
|
We currently handle basic #define statements as well as ifdef and else
branches.
|