llvm-project/clang/lib/Format
Alexander Kornienko c2ee9cf861 Remove an unnecessary check for FormatTok not being null.
Summary:
This check hints clang analyzer, that FormatTok may be null, and it
reports a null pointer dereference error:
http://buildd-clang.debian.net/scan-build/report-827c64.html#Path28

Reviewers: djasper

Reviewed By: djasper

CC: cfe-commits, klimek

Differential Revision: http://llvm-reviews.chandlerc.com/D3040

llvm-svn: 203800
2014-03-13 13:59:48 +00:00
..
BreakableToken.cpp Preserve hanging indent when breaking line comments. 2014-03-10 13:14:56 +00:00
BreakableToken.h Remove extra whitespace instead of breaking the line in comments when possible. 2013-11-12 17:50:13 +00:00
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
ContinuationIndenter.cpp clang-format: Fix crasher. 2014-03-12 08:24:47 +00:00
ContinuationIndenter.h Added an option to avoid splitting certain kinds of comments into lines. 2014-01-02 15:13:14 +00:00
Encoding.h Fix crash in getStringSplit. 2013-11-26 10:38:53 +00:00
Format.cpp Replace OwningPtr with std::unique_ptr. 2014-03-07 20:03:18 +00:00
FormatToken.cpp clang-format: Enable formatting of lambdas with explicit return type. 2014-01-16 09:11:55 +00:00
FormatToken.h [C++11] Replace OwningPtr include with <memory>. 2014-03-09 11:36:40 +00:00
Makefile
TokenAnnotator.cpp clang-format: Detect weird macro lambda usage. 2014-03-11 09:29:46 +00:00
TokenAnnotator.h clang-format: Improve selective formatting of nested statements. 2013-11-28 15:58:55 +00:00
UnwrappedLineParser.cpp Remove an unnecessary check for FormatTok not being null. 2014-03-13 13:59:48 +00:00
UnwrappedLineParser.h Replace OwningPtr with std::unique_ptr. 2014-03-07 20:03:18 +00:00
WhitespaceManager.cpp clang-format: Improve clang-format's detection about comment binding. 2013-11-08 23:31:14 +00:00
WhitespaceManager.h Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00