intellisense does not recognize __builtin_preserve_access_index return type #6659
Labels
bug
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
Visual Studio
Inherited from Visual Studio
Milestone
Type: LanguageService
Describe the bug
Intellisense recognizes
clang's
__builtin_preserve_access_index
return type to be simplyvoid
, thus generating errors of invalid type conversions etc.For example, the following generates a type error of
a value of type "void" cannot be used to initialize an entity of type "int"C/C++(144)
:Expected behavior
intellisense should recognize the return type as the type of the argument.
The text was updated successfully, but these errors were encountered: