You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restrict implicit cast from pointers to generic type variables to void*. The purpose of generic type variables is to not lose information about types. Implicit casts to void* defeats the purpose.
The text was updated successfully, but these errors were encountered:
dtarditi
changed the title
Restrict implicit cast from _Ptr<T> to void*
Restrict implicit casts from pointers to generic type variables to void*
Jul 22, 2017
Wer're planning to restrict casts to and from void pointers in checked scopes (issue #571). This seems like something that should be considered as part of implementing that. For unchecked scopes, there doesn't seem to be a good reason to treat casts between void * and pointer to generic type variables diffrently than other pointer cats. Closing this as redundant with issue #571.
- Add -output-dir option to write updated files to a directory structure
parallel to the base dir (#347). When -output-dir is used, a source
file outside the base dir can't be handled because there is no way to
compute its output path. For consistency, this is now an error even
when -output-dir is not used.
- Convert all 3C regression tests from -output-postfix to -output-dir to
avoid leaving temporary files in the clang/test/3C directory (#378).
- Expand "3c -help" documentation. In particular, direct the user to pass
"--" when they don't want to use a compilation database to avoid
accidentally using unwanted compiler options and suppress the warning
if no compilation database is found (#343).
- For consistency, have stdout mode output the main file even if it is
unchanged (#328).
- Fix bugs in matching of file paths against the base dir (#327).
- Other minor bug fixes: see the pull request description for details.
Co-authored-by: John Kastner <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Restrict implicit cast from pointers to generic type variables to void*. The purpose of generic type variables is to not lose information about types. Implicit casts to void* defeats the purpose.
The text was updated successfully, but these errors were encountered: