projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
773a159
)
[CodeGen] Make AsmPrinter's OutStreamer member a unique_ptr.
author
Lang Hames
<lhames@gmail.com>
Fri, 24 Apr 2015 19:04:55 +0000
(19:04 +0000)
committer
Lang Hames
<lhames@gmail.com>
Fri, 24 Apr 2015 19:04:55 +0000
(19:04 +0000)
AsmPrinter owns the OutStreamer, so an owning pointer makes sense here. Using a
reference for this is crufty.
llvm-svn: 235749
clang/tools/driver/driver.cpp
patch
|
blob
|
history
diff --git
a/clang/tools/driver/driver.cpp
b/clang/tools/driver/driver.cpp
index
e1f9367
..
025ddac
100644
(file)
--- a/
clang/tools/driver/driver.cpp
+++ b/
clang/tools/driver/driver.cpp
@@
-27,6
+27,7
@@
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
+#include "llvm/CodeGen/LinkAllCodegenComponents.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Option/OptTable.h"