llvm-project/clang/lib
David Majnemer 9588a95b82 [Sema] Don't crash when diagnosing hack in libstdc++
While working around a bug in certain standard library implementations,
we would try to diagnose the issue so that library implementors would
fix their code.  However, we assumed an entity being initialized was
a non-static data member subobject when other circumstances are
possible.

This fixes PR24526.

llvm-svn: 245675
2015-08-21 06:44:10 +00:00
..
ARCMigrate Remove and forbid raw_svector_ostream::flush() calls. 2015-08-13 18:12:56 +00:00
AST [OPENMP 4.1] Initial support for modifiers in 'linear' clause. 2015-08-20 10:54:39 +00:00
ASTMatchers Add AST narrowing matchers for inline and anonymous namespaces. Since the inline keyword can also be specified on a FunctionDecl, this is a polymorphic matcher. 2015-08-18 19:55:20 +00:00
Analysis unique_ptrify ConsumedBlockInfo analysis to make it move assignable 2015-08-14 01:26:19 +00:00
Basic Revert the 64bit part of r245084; long double values were not changed by 2015-08-20 21:51:46 +00:00
CodeGen Generating available_externally vtables bugfix 2015-08-19 20:09:09 +00:00
Driver Stop treating -static as overriding -fPIC: they are distinct. 2015-08-21 04:14:55 +00:00
Edit [Edit] Use StringRef's copy method. No functional change intended. 2015-08-04 11:18:09 +00:00
Format clang-format: Don't remove space between #elif and parentheses. 2015-08-14 12:44:06 +00:00
Frontend Initialize the AST consumer as soon as we have both an ASTConsumer and an 2015-08-18 20:39:29 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers [Headers][X86] Use __builtin_shufflevector in AVX2 broadcasts. 2015-08-20 20:27:21 +00:00
Index Remove and forbid raw_svector_ostream::flush() calls. 2015-08-13 18:12:56 +00:00
Lex [modules] Fix HeaderFileInfo serialization to store all the known owning modules for a header, not just the current favourite. 2015-08-18 23:42:23 +00:00
Parse [modules] When we see a definition of a function for which we already have a 2015-08-21 03:04:33 +00:00
Rewrite Make local function isWhitespaceExceptNL static instead of in anonymous namespace 2015-07-28 04:54:03 +00:00
Sema [Sema] Don't crash when diagnosing hack in libstdc++ 2015-08-21 06:44:10 +00:00
Serialization [modules] When we see a definition of a function for which we already have a 2015-08-21 03:04:33 +00:00
StaticAnalyzer [Static Analyzer] Add checker to catch lightweight generics related type errors in Objective-C. 2015-08-21 00:18:28 +00:00
Tooling [clang-tidy] Make NumOccurrenceFlag for SourcePaths configurable. 2015-08-17 10:01:42 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00