summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-pdbutil/FormatUtil.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-06-15 19:45:25 +0000
committerZachary Turner <zturner@google.com>2017-06-15 19:45:25 +0000
commit79bda47900a5e5fbb25aed1b3cd83676faaddcfe (patch)
tree89e97bcc7103b05864b338336dc75049922df1b5 /llvm/tools/llvm-pdbutil/FormatUtil.h
parentcddaf8728fd2786bf3af3a81814c2fe2b13d8692 (diff)
downloadbcm5719-llvm-79bda47900a5e5fbb25aed1b3cd83676faaddcfe.tar.gz
bcm5719-llvm-79bda47900a5e5fbb25aed1b3cd83676faaddcfe.zip
Fix some -Wreorder issues.
llvm-svn: 305497
Diffstat (limited to 'llvm/tools/llvm-pdbutil/FormatUtil.h')
-rw-r--r--llvm/tools/llvm-pdbutil/FormatUtil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-pdbutil/FormatUtil.h b/llvm/tools/llvm-pdbutil/FormatUtil.h
index 5c9807e33b5..2345bce0f8f 100644
--- a/llvm/tools/llvm-pdbutil/FormatUtil.h
+++ b/llvm/tools/llvm-pdbutil/FormatUtil.h
@@ -33,7 +33,7 @@ namespace pdb {
template <typename T> static std::string formatUnknownEnum(T Value) {
return formatv("unknown ({0})",
- static_cast<std::underlying_type<T>::type>(Value))
+ static_cast<typename std::underlying_type<T>::type>(Value))
.str();
}
OpenPOWER on IntegriCloud