summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-rc/ResourceScriptStmt.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-12-05 13:22:56 +0000
committerMartin Storsjo <martin@martin.st>2018-12-05 13:22:56 +0000
commitd0afe724d1f5ca3e0a46e75849450a934ffa5ef2 (patch)
tree25e93ff9bf602eb78d53188e8b625406c173b4d7 /llvm/tools/llvm-rc/ResourceScriptStmt.cpp
parent8fdaf5c915de88bb7026afb709460a0d6bf81162 (diff)
downloadbcm5719-llvm-d0afe724d1f5ca3e0a46e75849450a934ffa5ef2.tar.gz
bcm5719-llvm-d0afe724d1f5ca3e0a46e75849450a934ffa5ef2.zip
[llvm-rc] Support not expressions.
Patch by Jacek Caban! Differential Revision: https://reviews.llvm.org/D55242 llvm-svn: 348363
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptStmt.cpp')
-rw-r--r--llvm/tools/llvm-rc/ResourceScriptStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-rc/ResourceScriptStmt.cpp b/llvm/tools/llvm-rc/ResourceScriptStmt.cpp
index 325707226c4..7b8b0def4c9 100644
--- a/llvm/tools/llvm-rc/ResourceScriptStmt.cpp
+++ b/llvm/tools/llvm-rc/ResourceScriptStmt.cpp
@@ -151,7 +151,7 @@ raw_ostream &Control::log(raw_ostream &OS) const {
<< ", loc: (" << X << ", " << Y << "), size: [" << Width << ", " << Height
<< "]";
if (Style)
- OS << ", style: " << *Style;
+ OS << ", style: " << (*Style).getValue();
if (ExtStyle)
OS << ", ext. style: " << *ExtStyle;
if (HelpID)
OpenPOWER on IntegriCloud