[PATCH] D49504: Enable C++2a Chrono Literals

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 19 06:18:15 PDT 2018


erichkeane added inline comments.


================
Comment at: test/SemaCXX/cxx2a-user-defined-literals.cpp:23
+// expected-error at +3{{no viable conversion from 'int' to 'chrono::day'}}
+// expected-note at 9{{candidate constructor (the implicit copy constructor)}}
+// expected-note at 9{{candidate constructor (the implicit move constructor)}}
----------------
Of course, the '9' in these two lines is now wrong... I'll fix it in my local copy.


https://reviews.llvm.org/D49504





More information about the cfe-commits mailing list