]> granicus.if.org Git - clang/commit
Using llvm::OwningPtr<> for CurLexer and CurTokenLexer. This makes both the ownershi...
authorTed Kremenek <kremenek@apple.com>
Thu, 13 Nov 2008 17:11:24 +0000 (17:11 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 13 Nov 2008 17:11:24 +0000 (17:11 +0000)
commitcaaa7df2c78bbd40197823034c0275f3dcbd63e7
tree7a0a65d87706be1009b4d0fa1c0e4bf4548a0f43
parented04c4cdca11119cac7d2fd65685444ce25f9e37
Using llvm::OwningPtr<> for CurLexer and CurTokenLexer.  This makes both the ownership semantics of these objects explicit within the Preprocessor and also tightens up the code (explicit deletes not needed).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59249 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/Preprocessor.h
lib/Lex/PPLexerChange.cpp
lib/Lex/Preprocessor.cpp