[cfe-dev] update_cc_test_checks.py and function declarations

David Greene via cfe-dev cfe-dev at lists.llvm.org
Wed Jan 29 09:56:08 PST 2020


David Greene <dag at cray.com> writes:

> void foo();
>
> int main() {
>   foo();
>   return 0;
> }
>
> void foo() {
>   ...
> }
>
> The checks for foo were put in front of the definition of foo.  Now I am
> seeing the checks put in front of the declaration of foo, which messes
> up the CHECK-LABEL ordering.

Actually, I see the checks place *both* before the declaration *and*
before the definition.

                      -David


More information about the cfe-dev mailing list