summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-02-28 18:09:18 +0000
committerGreg Clayton <gclayton@apple.com>2013-02-28 18:09:18 +0000
commit7170f3fc54b611974a1deebbe0f2a26d39ea6959 (patch)
tree78caf47701bf01c2f85e0094ba66da1a9ba8180d /clang/lib/CodeGen/CodeGenModule.cpp
parentd0c6e7b0385e54384e4ab79382f2927b3bdd04af (diff)
downloadbcm5719-llvm-7170f3fc54b611974a1deebbe0f2a26d39ea6959.tar.gz
bcm5719-llvm-7170f3fc54b611974a1deebbe0f2a26d39ea6959.zip
Made lldb.cpp build with clang 5.0.
Also removed the use of llvm::raw_string_ostream as it wasn't needed. Also fixed a crasher that could occur when the following line returned a C string tied to a local variable: return OS.str().c_str(); I am guessing "static std::string buf;" was supposed to get assigned to "OS.str()" and then have "buf.c_str()" returned. Modified the non-apple version code to cache its value and not recompute the version every time. llvm-svn: 176274
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud