[PATCH] D53200: [OpenCL] Fix serialization of OpenCLExtensionDecls

Alexey Sachkov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 17 03:37:53 PDT 2018


AlexeySachkov added a comment.

@yaxunl could you please review this patch?

It fixes a bug in a feature implemented by you in:

  commit c6fb598a301143e9d21156a012cc6ef669ff0188                                                        
  Author: Yaxun Liu <Yaxun.Liu at amd.com>                                                                  
  Date:   Sun Dec 18 05:18:55 2016 +0000                                                                 
                                                                                                         
      Recommit r289979 [OpenCL] Allow disabling types and declarations associated with extensions        
                                                                                                         
      Fixed undefined behavior due to cast integer to bool in initializer list.                          
                                                                                                         
                                                                                                         
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290056 91177308-0d34-0410-b5e6-96231b3b80d8 


https://reviews.llvm.org/D53200





More information about the cfe-commits mailing list