berenm added a comment. I don't have any compilation error with GCC 5.2.1. I tried again with Clang 3.8 and indeed there is this error:
tools/clang/lib/Format/WhitespaceManager.cpp:155:51: error: 'Change' is a private member of 'clang::format::WhitespaceManager' SmallVector<WhitespaceManager::Change, 16> &Changes) { ^ tools/clang/lib/Format/WhitespaceManager.h:87:10: note: declared private here struct Change { ^ This can easily be reproduced: http://goo.gl/CUk665 vs http://goo.gl/6KcBFT I don't know precisely which one is correct here, it looks like to be related to the access permission in the context of a template function instantiation. http://reviews.llvm.org/D14325 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits