llvm-project/clang/lib/Basic
Chris Lattner ed8b6b799d introduce a new CharSourceRange class, and enhance the diagnostics routines
to use them instead of SourceRange.  CharSourceRange is just a SourceRange
plus a bool that indicates whether the range has the end character resolved
or whether the end location is the start of the end token.  While most of
the compiler wants to think of ranges that have ends that are the start of
the end token, the printf diagnostic stuff wants to highlight ranges within
tokens.

This is transparent to the diagnostic stuff.  To start taking advantage of
the new capabilities, you can do something like this:
  Diag(..) << CharSourceRange::getCharRange(Begin,End)

llvm-svn: 106338
2010-06-18 22:45:06 +00:00
..
Builtins.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
CMakeLists.txt Update CMake build system for ARM NEON generation. 2010-06-17 15:17:41 +00:00
ConvertUTF.c Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Diagnostic.cpp introduce a new CharSourceRange class, and enhance the diagnostics routines 2010-06-18 22:45:06 +00:00
FileManager.cpp Removing trailing directory separator, to make stat work 2009-12-18 14:18:21 +00:00
IdentifierTable.cpp don't make _Bool be a keyword in -fms-extensions mode, patch by 2010-05-21 20:22:37 +00:00
Makefile Makefiles: Set Clang CPP compiler flags in a single location, instead of scattered throughout the project Makefiles. 2010-06-08 20:44:43 +00:00
SourceLocation.cpp Update get*LineNumber() and get*ColumnNumber() functions to pass the 2010-03-16 20:53:17 +00:00
SourceManager.cpp clean up isBeforeInTranslationUnit by factoring out some common 2010-05-07 20:35:24 +00:00
TargetInfo.cpp Correctly align large arrays in x86-64. This fixes PR5599. 2010-06-04 23:15:27 +00:00
Targets.cpp Add an option to specify the target C++ ABI to the frontend. Use it to 2010-06-11 01:06:47 +00:00
TokenKinds.cpp This patch adds a PUNCTUATOR macro (specialization of TOK) in TokenKinds.def and makes use of it in tok::getTokenSimpleSpelling. 2009-11-28 16:09:28 +00:00
Version.cpp Basic: Update getClangRepositoryPath for my change to integration branch layout. 2010-05-06 18:39:38 +00:00