Patch by Simon Perretta.
Details
Diff Detail
Event Timeline
lib/Sema/SemaDecl.cpp | ||
---|---|---|
6085 | Sure, I can do that, I am just not sure what the desirable behaviour is here? They are different errors, so with the current patch it emits both diagnostics (see the first test change). If we just want one diagnostic (the first one in that test case), I can change it to else if; please let me know if you prefer that. |
lib/Sema/SemaDecl.cpp | ||
---|---|---|
6085 | On second thoughts, let's keep it as it is. Can you add tests for const sampler_t const constant sampler_t const global sampler_t Thanks. |
global sampler requires a const or constant address space qualifier