llvm-project/clang/lib
Malcolm Parsons 6af3f14efb Fixed column shift when formatting line containing bit shift operators
Summary:
During clang-format source lexing >> and << operators are split and
treated as two less/greater operators but column position of following
tokens was not adjusted accordingly.

Fixes PR26887

Patch by Paweł Żukowski.

Reviewers: djasper

Subscribers: malcolm.parsons, mprobst, klimek, cfe-commits

Differential Revision: https://reviews.llvm.org/D25439

llvm-svn: 285934
2016-11-03 16:57:30 +00:00
..
ARCMigrate Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 10:39:27 +00:00
AST Update manglings for C++17 noexcept function types to match Jason Merrill's 2016-11-03 00:27:54 +00:00
ASTMatchers [AST] Convert Marshallers to use unique_ptr. 2016-10-10 16:26:40 +00:00
Analysis [ReachableCode] Skip over ExprWithCleanups in isConfigurationValue 2016-11-01 00:19:04 +00:00
Basic regcall: Implement regcall Calling Conv in clang 2016-11-02 18:29:35 +00:00
CodeGen [CodeGen] Use StringRef. NFC. 2016-11-03 02:21:43 +00:00
Driver Rename the version of ConstructJob for multiple outputs to ConstructJobMultipleOutputs. 2016-11-03 15:41:50 +00:00
Edit [OpenCL] Generate opaque type for sampler_t and function call for the initializer 2016-07-28 19:26:30 +00:00
Format Fixed column shift when formatting line containing bit shift operators 2016-11-03 16:57:30 +00:00
Frontend Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 10:39:27 +00:00
FrontendTool C++ Modules TS: add frontend support for building pcm files from module 2016-08-26 00:14:38 +00:00
Headers [OpenCL] Mark group functions as convergent in opencl-c.h 2016-11-01 18:45:32 +00:00
Index [index] Fix assertion hit when handling a declaration of C++'s 'operator new' function. 2016-11-02 23:42:33 +00:00
Lex Do not print include_next/pragma once warnings when input is a header. 2016-10-27 14:17:10 +00:00
Parse Remove redundant calls to std::string::data() 2016-11-03 12:25:51 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema [Sema] Avoid instantiating templates only when UncompilableErrorOccurred 2016-11-03 15:04:58 +00:00
Serialization Bitcode: Change reader interface to take memory buffers. 2016-11-02 00:08:19 +00:00
StaticAnalyzer [analyzer] StdLibraryFunctions: provide platform-specific function summaries. 2016-11-02 19:35:20 +00:00
Tooling Remove redundant calls to std::string::data() 2016-11-03 12:25:51 +00:00
CMakeLists.txt