summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PTHLexer.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-12-04 22:47:11 +0000
committerTed Kremenek <kremenek@apple.com>2008-12-04 22:47:11 +0000
commit1aed3ddffacc4d9889a8d1a546be87e4cfa9215c (patch)
tree78a5c7905df9d3999002a7af34458c4363a2825e /clang/lib/Lex/PTHLexer.cpp
parentbf28bceb104ff38ce7ec240ca96c872f37fffa8b (diff)
downloadbcm5719-llvm-1aed3ddffacc4d9889a8d1a546be87e4cfa9215c.tar.gz
bcm5719-llvm-1aed3ddffacc4d9889a8d1a546be87e4cfa9215c.zip
Remove unneeded assertion.
llvm-svn: 60559
Diffstat (limited to 'clang/lib/Lex/PTHLexer.cpp')
-rw-r--r--clang/lib/Lex/PTHLexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PTHLexer.cpp b/clang/lib/Lex/PTHLexer.cpp
index 85d009b4cbb..96099308782 100644
--- a/clang/lib/Lex/PTHLexer.cpp
+++ b/clang/lib/Lex/PTHLexer.cpp
@@ -244,7 +244,7 @@ PTHManager::PTHManager(const llvm::MemoryBuffer* buf, void* fileLookup,
PTHManager::~PTHManager() {
delete Buf;
delete (PTHFileLookup*) FileLookup;
- assert(PerIDCache); free(PerIDCache);
+ free(PerIDCache);
}
PTHManager* PTHManager::Create(const std::string& file, Preprocessor& PP) {
OpenPOWER on IntegriCloud