llvm-project/clang/lib
Chandler Carruth cb8f82a8e5 Sink the logic for suppressing some macro expansion notes from the
TextDiagnosticPrinter into the CaretDiagnostic class. Several
interesting results from this:

- This removes a significant per-diagnostic bit of state from the
  CaretDiagnostic class, which should eventually allow us to re-use the
  object.
- It removes a redundant recursive walk of the macro expansion stack
  just to compute the depth. We don't need the depth until we're
  unwinding anyways, so we can just mark when we reach it.
- It also paves the way for several simplifications we can do to how we
  implement the suppression.

llvm-svn: 140474
2011-09-25 22:27:52 +00:00
..
ARCMigrate Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset. 2011-09-19 20:40:19 +00:00
AST Treat list-initialization of scalars as a first-class citizen in C++11. 2011-09-24 17:48:14 +00:00
Analysis Removing a bunch of dead returns/breaks after llvm_unreachables. 2011-09-23 20:26:49 +00:00
Basic Fix missing includes for llvm_unreachable 2011-09-23 05:35:21 +00:00
CodeGen Treat list-initialization of scalars as a first-class citizen in C++11. 2011-09-24 17:48:14 +00:00
Driver Driver: Use sys::Process::SetWorkingDirectory, for consistency. 2011-09-23 23:32:02 +00:00
Frontend Sink the logic for suppressing some macro expansion notes from the 2011-09-25 22:27:52 +00:00
FrontendTool Eliminate the unused -create-module cc1-level option 2011-09-15 19:45:56 +00:00
Headers Tweak *mmintrin.h so that they don't make any bad assumptions about alignment (which probably has little effect in practice, but better to get it right). Make the load in _mm_loadh_pi and _mm_loadl_pi a single LLVM IR instruction to make optimizing easier for CodeGen. 2011-09-15 23:15:27 +00:00
Index Removing a bunch of dead returns/breaks after llvm_unreachables. 2011-09-23 20:26:49 +00:00
Lex Fix missing includes for llvm_unreachable 2011-09-23 05:35:21 +00:00
Parse Correctly parse braced member initializers (even in delayed parsing) and correctly pass 2011-09-24 17:48:25 +00:00
Rewrite Switch assert(0/false) llvm_unreachable. 2011-09-23 05:06:16 +00:00
Sema Add a missing increment to avoid infinite looping in the regression test. 2011-09-25 02:41:26 +00:00
Serialization Fix up assertion a bit more 2011-09-23 22:07:41 +00:00
StaticAnalyzer Fix comment typo. 2011-09-24 03:04:03 +00:00
CMakeLists.txt The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00
Makefile The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00