[PATCH] D43060: [CodeView] Lower __restrict and other pointer qualifiers correctly

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 14:00:10 PST 2018


rnk marked an inline comment as done.
rnk added inline comments.


================
Comment at: llvm/lib/DebugInfo/CodeView/RecordName.cpp:170-175
     if (Ptr.isConst())
       Name.append("const ");
     if (Ptr.isVolatile())
       Name.append("volatile ");
     if (Ptr.isUnaligned())
       Name.append("__unaligned ");
----------------
I noticed that these should be printed on the right like __restrict. That affects the type-quals.ll test. See also https://llvm.org/pr36541.


https://reviews.llvm.org/D43060





More information about the llvm-commits mailing list