{"push_id":3092536897,"size":1,"distinct_size":1,"ref":"refs/heads/release_70","head":"6655e514ce4f9dbf2bd6689007308a72b5bda8d7","before":"3319d936c8a98af2e7678ad050528256fe7a832e","commits":[{"sha":"6655e514ce4f9dbf2bd6689007308a72b5bda8d7","author":{"name":"Tom Stellard","email":"02813bd8804fd6c33e30db4f620d1e5863a03cc8@redhat.com"},"message":"Merging r345497:\n\n------------------------------------------------------------------------\nr345497 | asavonic | 2018-10-29 04:14:01 -0700 (Mon, 29 Oct 2018) | 29 lines\n\n[OpenCL] Fix serialization of OpenCLExtensionDecls\n\nSummary:\nI recently discovered that adding the following code into `opencl-c.h` causes\nfailure of `test/Headers/opencl-c-header.cl`:\n```\n#pragma OPENCL EXTENSION cl_my_ext : begin\nvoid cl_my_ext_foobarbaz();\n#pragma OPENCL EXTENSIOn cl_my_ext : end\n```\n\nClang crashes at the assertion is `ASTReader::getGlobalSubmoduleID()`:\n```\nassert(I != M.SubmoduleRemap.end() && \"Invalid index into submodule index remap\");\n```\n\nThe root cause of the problem that to deserialize `OPENCL_EXTENSION_DECLS`\nsection `ASTReader` needs to deserialize a Decl contained in it. In turn,\ndeserializing a Decl requires information about whether this declaration is\npart of a (sub)module, but this information is not read yet because it is\nlocated further in a module file.\n\nReviewers: Anastasia, yaxunl, JDevlieghere\n\nReviewed By: Anastasia\n\nSubscribers: sidorovd, cfe-commits, asavonic\n\nDifferential Revision: https://reviews.llvm.org/D53200\n------------------------------------------------------------------------\n\ngit-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_70@347834 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/kraj/clang/commits/6655e514ce4f9dbf2bd6689007308a72b5bda8d7"}]}
{"actor":{"display_login":"kraj"}}