llvm-project/clang/lib
Manuel Klimek 31c85921b2 Fixes various problems with accounting for tabs in the original code.
We now count the original token's column directly when lexing the
tokens, where we already have all knowledge about where lines start.

Before this patch, formatting:
 void f() {
 \tg();
 \th();
 }
would incorrectly count the \t's as 1 character if only the line
containing h() was reformatted, and thus indent h() at offset 1.

llvm-svn: 189585
2013-08-29 15:21:40 +00:00
..
ARCMigrate ObjectiveC migrator. This patch infers readonly properties for no-parameter 2013-08-28 23:22:46 +00:00
AST AST: Don't treat a TemplateExpansion as a Template 2013-08-28 00:00:27 +00:00
ASTMatchers Add support for eachOf/allOf/anyOf variadic matchers in the dynamic layer. 2013-08-28 18:42:04 +00:00
Analysis Consumed analyis: Renamed *PStatus to *PInfo. 2013-08-26 20:34:59 +00:00
Basic Make getDiagnosticsInGroup helper method a static function in the cpp file and move the WarningOption struct into an anonymous namespace instead of clang namespace since it no longer needs to be forward declared in the header. 2013-08-29 06:06:18 +00:00
CodeGen 80-col. 2013-08-28 23:12:10 +00:00
Driver use the last passed -munaligned-access / -mno-unaligned-access 2013-08-28 23:56:07 +00:00
Edit ObjectiveC migrator: Remove semicolon after the typedef 2013-07-18 22:17:33 +00:00
Format Fixes various problems with accounting for tabs in the original code. 2013-08-29 15:21:40 +00:00
Frontend Properly escape filenames in line directives. 2013-08-29 01:42:42 +00:00
FrontendTool ObjectiveC migrator. This patch infers readonly properties for no-parameter 2013-08-28 23:22:46 +00:00
Headers Two more definitions required by libsupc++ (_sleb128_t and _uleb128_t) 2013-08-29 01:56:22 +00:00
Index Avoid using the 'index' namespace as scope. 2013-08-21 00:49:25 +00:00
Lex Use new UnicodeCharSet interface. 2013-08-29 12:12:31 +00:00
Parse Remove Inheritable/NonInheritable flags from ProcessDeclAttributes. They don't 2013-08-29 00:47:48 +00:00
Rewrite Properly escape filenames in line directives. 2013-08-29 01:42:42 +00:00
Sema Removed useless default branch of switch statement. 2013-08-29 08:20:07 +00:00
Serialization This wasn't headers, just missing namespaces. 2013-08-24 13:22:59 +00:00
StaticAnalyzer [analyzer] Add support for testing the presence of weak functions. 2013-08-28 17:07:04 +00:00
Tooling Adding a vector version of clang::tooling::shiftedCodePosition(). 2013-08-27 15:44:26 +00:00
CMakeLists.txt Fix dependencies now that the ARC migrator depends on the static analyzer. 2013-08-22 15:50:02 +00:00
Makefile Fix dependencies now that the ARC migrator depends on the static analyzer. 2013-08-22 15:50:02 +00:00