llvm-project/clang/lib/Frontend
David Majnemer 38a3dbdcbf Don't crash w/ a diagnostic range containing a null byte
We prematurely ended the line at the null byte which caused us to crash
down stream because we tried to reason about columns beyond the end of
the line.

llvm-svn: 261171
2016-02-17 22:37:45 +00:00
..
Rewrite [Objective-c] Stop attaching section "datacoal_nt" to global variables. 2016-02-11 06:36:35 +00:00
ASTConsumers.cpp Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
ASTMerge.cpp [Frontend] Make the memory management of FrontendAction pointers explicit by using unique_ptr. 2016-02-07 19:28:36 +00:00
ASTUnit.cpp [ASTUnit] Change the parameter of ASTUnit::LoadFromCompilerInvocationAction to accept a more general FrontendAction. 2016-02-09 19:07:13 +00:00
CMakeLists.txt clangFrontend: [PR25565] Quick fix for dependencies on Attributes.inc. 2015-11-19 10:59:48 +00:00
CacheTokens.cpp Reduce the number of implicit StringRef->std::string conversions by threading StringRef through more APIs. 2016-02-13 13:42:54 +00:00
ChainedDiagnosticConsumer.cpp
ChainedIncludesSource.cpp Introduce module file extensions to piggy-back data onto module files. 2015-11-03 18:33:07 +00:00
CodeGenOptions.cpp [Driver] Add support for -fno-builtin-foo options. 2016-01-06 14:35:46 +00:00
CompilerInstance.cpp Reduce the number of implicit StringRef->std::string conversions by threading StringRef through more APIs. 2016-02-13 13:42:54 +00:00
CompilerInvocation.cpp [sanitizer-coverage] implement -fsanitize-coverage=trace-pc. This is similar to trace-bb, but has a different API. We already use the equivalent flag in GCC for Linux kernel fuzzing. We may be able to use this flag with AFL too 2016-02-17 21:34:43 +00:00
CreateInvocationFromCommandLine.cpp [libclang] Add entry points that take a full command line including argv[0]. 2015-11-18 16:14:27 +00:00
DependencyFile.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
DependencyGraph.cpp Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
DiagnosticRenderer.cpp Fix -Wnull-conversion for long macros. 2016-01-26 02:51:55 +00:00
FrontendAction.cpp [Frontend] Make sure WrapperFrontendAction updates CurrentInput after calling BeginSourceFileAction. 2016-02-16 05:39:33 +00:00
FrontendActions.cpp [modules] Make sure we always include the contents of private headers when 2016-01-08 22:36:45 +00:00
FrontendOptions.cpp Ensure that we still parse preprocessed CUDA files as CUDA when we use 2015-03-19 17:32:06 +00:00
HeaderIncludeGen.cpp Update for llvm API change. 2015-12-16 22:59:09 +00:00
InitHeaderSearch.cpp [ptr-traits] Add #includes of headers rather than forward declarations 2015-12-30 03:40:23 +00:00
InitPreprocessor.cpp [CUDA] Make CUDA compilation usable by default. 2015-11-17 22:28:55 +00:00
LangStandards.cpp
LayoutOverrideSource.cpp Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment. 2016-01-29 19:38:18 +00:00
LogDiagnosticPrinter.cpp Replace double negation of !FileID.isInvalid() with FileID.isValid(). 2015-10-03 10:46:20 +00:00
ModuleDependencyCollector.cpp Moving FileManager::removeDotPaths to llvm::sys::path::remove_dots 2015-11-09 19:12:18 +00:00
MultiplexConsumer.cpp [Frontend] Handle ASTConsumer::shouldSkipFunctionBody via the MultiplexConsumer. 2016-02-09 19:07:16 +00:00
PCHContainerOperations.cpp Remove the egregious PCHContainer layering hack that doesn't seem to be necessary anymore. 2016-02-01 13:22:39 +00:00
PrintPreprocessedOutput.cpp Reduce the number of implicit StringRef->std::string conversions by threading StringRef through more APIs. 2016-02-13 13:42:54 +00:00
SerializedDiagnosticPrinter.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
SerializedDiagnosticReader.cpp Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
TestModuleFileExtension.cpp Module file extensions: pass a Sema through to the extension writer. 2015-12-08 22:43:32 +00:00
TestModuleFileExtension.h Module file extensions: pass a Sema through to the extension writer. 2015-12-08 22:43:32 +00:00
TextDiagnostic.cpp Don't crash w/ a diagnostic range containing a null byte 2016-02-17 22:37:45 +00:00
TextDiagnosticBuffer.cpp Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types 2015-05-29 19:42:19 +00:00
TextDiagnosticPrinter.cpp Remove uses of the redundant ".reset(nullptr)" of unique_ptr, in favor of ".reset()" 2014-07-19 01:06:45 +00:00
VerifyDiagnosticConsumer.cpp Refactor: Simplify boolean conditional return statements in lib/Frontend 2015-12-28 15:15:16 +00:00