https://llvm.org/bugs/show_bug.cgi?id=27366
Bug ID: 27366 Summary: Formatter does not handle c++11 string literal prefix with stringize # Product: clang Version: unspecified Hardware: All OS: Windows NT Status: NEW Severity: normal Priority: P Component: Formatter Assignee: unassignedclangb...@nondot.org Reporter: gunnar.r...@gmx.de CC: djas...@google.com, kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified For L this was fixed in bug 17144, but u etc. are not fixed. Example : #define _u(str) u#str will become #define _u(str) u #str this breaks compiling. the code if (Right.is(tok::hash) && Left.is(tok::identifier) && Left.TokenText == "L") return false; in TokenAnnotator.cpp takes only care of L not the other possible prefixes. see https://msdn.microsoft.com/en-US/library/69ze775t.aspx -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs