[PATCH] D97831: [Clang][Sema] Implement GCC -Wcast-function-type
    Yuanfang Chen via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Mar 23 18:18:17 PDT 2021
    
    
  
ychen updated this revision to Diff 332840.
ychen marked 3 inline comments as done.
ychen added a comment.
- Add code/tests for `function -> function pointer` and `block pointer -> function pointer`.
- Use Context.hasSameUnqualifiedType
- Style
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97831/new/
https://reviews.llvm.org/D97831
Files:
  clang/docs/DiagnosticsReference.rst
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaCast.cpp
  clang/test/Sema/warn-cast-function-type.c
  clang/test/Sema/warn-cast-function-type.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97831.332840.patch
Type: text/x-patch
Size: 10720 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210324/6dcf9ab5/attachment-0001.bin>
    
    
More information about the cfe-commits
mailing list