sfantao marked an inline comment as done. ================ Comment at: lib/AST/OpenMPClause.cpp:546 @@ +545,3 @@ + for (auto *D : Declarations) { + assert( + (!D || D->isCanonicalDecl()) && ---------------- Ok, using canonical declarations now. http://reviews.llvm.org/D19382