[PATCH] D64015: [WIP][CUDA] Use shared MangleContext for CUDA and CXX CG

2019-07-01 Thread Philip Salzmann via Phabricator via cfe-commits
psalz created this revision. psalz added reviewers: hliao, tra, aheejin. Herald added a project: clang. Herald added a subscriber: cfe-commits. NOTE: This is a work in progress and mainly intended to highlight the issue - i.e., I'm not certain the provided solution is appropriate. Given this CUD

[PATCH] D64015: [WIP][CUDA] Use shared MangleContext for CUDA and CXX CG

2019-07-02 Thread Philip Salzmann via Phabricator via cfe-commits
psalz updated this revision to Diff 207488. psalz added a comment. Move ownership of shared `MangleContext`s to `ASTContext`, return references from `getSharedMangleContext`. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D64015/new/ https://reviews.llvm.org/D6401