llvm-project/clang
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
..
INPUTS
bindings [libclang] Expose the rest of the array types. 2013-07-23 17:36:21 +00:00
docs [doxygen] Add a few missing variables to the doxygen.cfg.in for external search and cleaned up external_search_map. 2013-08-28 21:55:41 +00:00
examples Remove unused header. 2013-06-26 13:49:47 +00:00
include mangle aarch64 Neon ACLE scalar instrinsic name with BHSD suffix. 2013-08-29 07:55:15 +00:00
lib Fixes various problems with accounting for tabs in the original code. 2013-08-29 15:21:40 +00:00
runtime [LSan] Add support for building standalone LSan runtime to Make build (clang part) 2013-08-20 14:49:36 +00:00
test [tests] Use 'printf' instead of 'echo -e', which is not part of BSD echo. 2013-08-29 03:02:39 +00:00
tools Move individual group name strings from the OptionTable into one big char array. Then only store offsets into it in the OptionTable. Saves about 4K from the clang binary and removes 400 relocation entries from DiagnosticIDs.o. 2013-08-29 05:18:04 +00:00
unittests Fixes various problems with accounting for tabs in the original code. 2013-08-29 15:21:40 +00:00
utils mangle aarch64 Neon ACLE scalar instrinsic name with BHSD suffix. 2013-08-29 07:55:15 +00:00
www [analyzer] Note that deadcode.UnmodifiedVariable would be an opt-in checker. 2013-08-19 23:54:35 +00:00
.arcconfig
.gitignore Reverted unintendedly-committed file. 2013-01-31 19:05:31 +00:00
CMakeLists.txt [doxygen] Added code for generating doxygen documentation for clang for cmake. 2013-08-28 20:29:40 +00:00
CODE_OWNERS.TXT Revert r185557 as it was a bit (a lot) premature. 2013-07-03 20:37:50 +00:00
INSTALL.txt Reverting test commit 2013-06-07 05:33:21 +00:00
LICENSE.TXT
Makefile
ModuleInfo.txt
NOTES.txt Remove an uninteresting note 2013-02-05 21:13:55 +00:00
README.txt

README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:              http://clang.llvm.org/
Building and using Clang:          http://clang.llvm.org/get_started.html
Clang Static Analyzer:             http://clang-analyzer.llvm.org/
Information on the LLVM project:   http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang development mailing list:
  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/