]> granicus.if.org Git - clang/commit
Document that CompilerInvocation::createDiagnostics keeps a reference to the Diagnost...
authorDaniel Dunbar <daniel@zuster.org>
Sun, 6 Dec 2009 09:56:30 +0000 (09:56 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 6 Dec 2009 09:56:30 +0000 (09:56 +0000)
commitbb3503a146f5eee6393a8b7542f38d9f5fce6583
tree56ecd5477e49608727ae31ed5e5495ee7ddcdb15
parenteae18f89ede182c686e8ee47014fdb3cd3ed496c
Document that CompilerInvocation::createDiagnostics keeps a reference to the DiagnosticOptions, and update callers to make sure they don't pass in a temporary.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90704 91177308-0d34-0410-b5e6-96231b3b80d8
examples/wpa/clang-wpa.cpp
include/clang/Frontend/CompilerInstance.h
tools/CIndex/CIndex.cpp
tools/index-test/index-test.cpp