diff options
| author | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-18 09:17:29 +0000 |
|---|---|---|
| committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-18 09:17:29 +0000 |
| commit | b550cb1750174d9c0dc002913f10f6de01566b5a (patch) | |
| tree | 89305ce645a17d5ada15bacf0e77fd83e917ec0b /llvm/tools/opt | |
| parent | 7322b8bcc0509fa946b07c502b23f1134d4648a7 (diff) | |
| download | bcm5719-llvm-b550cb1750174d9c0dc002913f10f6de01566b5a.tar.gz bcm5719-llvm-b550cb1750174d9c0dc002913f10f6de01566b5a.zip | |
[NFC] Header cleanup
Removed some unused headers, replaced some headers with forward class declarations.
Found using simple scripts like this one:
clear && ack --cpp -l '#include "llvm/ADT/IndexedMap.h"' | xargs grep -L 'IndexedMap[<]' | xargs grep -n --color=auto 'IndexedMap'
Patch by Eugene Kosov <claprix@yandex.ru>
Differential Revision: http://reviews.llvm.org/D19219
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 266595
Diffstat (limited to 'llvm/tools/opt')
| -rw-r--r-- | llvm/tools/opt/NewPMDriver.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/opt/NewPMDriver.h b/llvm/tools/opt/NewPMDriver.h index 349a7b1267f..66a470d49ba 100644 --- a/llvm/tools/opt/NewPMDriver.h +++ b/llvm/tools/opt/NewPMDriver.h @@ -21,9 +21,8 @@ #ifndef LLVM_TOOLS_OPT_NEWPMDRIVER_H #define LLVM_TOOLS_OPT_NEWPMDRIVER_H -#include "llvm/ADT/StringRef.h" - namespace llvm { +class StringRef; class LLVMContext; class Module; class TargetMachine; |

