]> granicus.if.org Git - clang/commit
Change the diagnostics interface to take an array of pointers to
authorChris Lattner <sabre@nondot.org>
Tue, 18 Nov 2008 04:56:44 +0000 (04:56 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 18 Nov 2008 04:56:44 +0000 (04:56 +0000)
commit2383b7f6aea2cb2bf2b5bfc0ec730f9354fecbbf
tree13bdae5f244e4365dc659a6d5c94e84e910b626f
parentc5c8d7d57dbfb2ecb7c7db51711e3b198e379d6a
Change the diagnostics interface to take an array of pointers to
strings instead of array of strings.  This reduces string copying
in some not-very-important cases, but paves the way for future
improvements.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59494 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/clang/Analysis/PathDiagnostic.h
include/clang/Analysis/PathSensitive/BugReporter.h
include/clang/Basic/Diagnostic.h
include/clang/Driver/TextDiagnosticBuffer.h
include/clang/Driver/TextDiagnosticPrinter.h
lib/Analysis/PathDiagnostic.cpp
lib/Basic/Diagnostic.cpp
lib/CodeGen/CodeGenModule.cpp
lib/Driver/TextDiagnosticBuffer.cpp
lib/Driver/TextDiagnosticPrinter.cpp
lib/Lex/Preprocessor.cpp
lib/Parse/DeclSpec.cpp
lib/Parse/Parser.cpp
lib/Sema/Sema.cpp