diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 20:51:52 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 20:51:52 +0000 | 
| commit | 5f29bb8a675e8f96452b632e7129113f7dec850e (patch) | |
| tree | 3d3f2a0d3ad10872a4dcaba8ec8d1d20c87ab147 /source/Core/DumpDataExtractor.cpp | |
| parent | 88c643b6fec27eec436c8d138fee6346e92337d6 (diff) | |
Notes
Diffstat (limited to 'source/Core/DumpDataExtractor.cpp')
| -rw-r--r-- | source/Core/DumpDataExtractor.cpp | 13 | 
1 files changed, 6 insertions, 7 deletions
diff --git a/source/Core/DumpDataExtractor.cpp b/source/Core/DumpDataExtractor.cpp index 43a026d0dcb29..aa84370e223a5 100644 --- a/source/Core/DumpDataExtractor.cpp +++ b/source/Core/DumpDataExtractor.cpp @@ -1,9 +1,8 @@  //===-- DumpDataExtractor.cpp -----------------------------------*- C++ -*-===//  // -//                     The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception  //  //===----------------------------------------------------------------------===// @@ -552,7 +551,7 @@ lldb::offset_t lldb_private::DumpDataExtractor(      case eFormatFloat: {        TargetSP target_sp; -      bool used_apfloat = false; +      bool used_upfloat = false;        if (exe_scope)          target_sp = exe_scope->CalculateTarget();        if (target_sp) { @@ -601,13 +600,13 @@ lldb::offset_t lldb_private::DumpDataExtractor(              if (!sv.empty()) {                s->Printf("%*.*s", (int)sv.size(), (int)sv.size(), sv.data()); -              used_apfloat = true; +              used_upfloat = true;              }            }          }        } -      if (!used_apfloat) { +      if (!used_upfloat) {          std::ostringstream ss;          if (item_byte_size == sizeof(float) || item_byte_size == 2) {            float f;  | 
