commit | 807b06157a1a5c050520fc194d32f16d22d423a8 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Sat Jan 30 21:47:16 2010 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Sat Jan 30 21:47:16 2010 +0000 |
tree | 8bdea0496f06100bd3848b6d033f5d2aaec582f4 | |
parent | 6228ca00121669ec06a19df4fad87d5049c097cf [diff] |
ASTUnit: Ensure the CompilerInvocation object used in LoadFromCommandLine is live as long as the ASTUnit. This is useful for clients which want to maintain pointers to the LangOptions object which ultimately lives in the CompilerInvocation, although it would be nice to make all of this ownership stuff more explicit and obvious. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94924 91177308-0d34-0410-b5e6-96231b3b80d8