llvm-project/clang/lib
Benjamin Kramer c9ba1bd20a [AST] Really allocate a SmallVector to the right size.
set_size only resets the end pointer and asserts if it is used to grow
the buffer. This would crash when mangling a float with more than 80 bits,
add a test with a ppc double double (128 bits).

Found by inspection.

llvm-svn: 243979
2015-08-04 13:34:50 +00:00
..
ARCMigrate Use llvm::reverse to make a bunch of loops use foreach. NFC. 2015-07-30 17:22:52 +00:00
AST [AST] Really allocate a SmallVector to the right size. 2015-08-04 13:34:50 +00:00
ASTMatchers Add an AST matcher, isFinal(), for testing whether a method or class declaration are marked final. 2015-07-24 12:35:41 +00:00
Analysis Use llvm::reverse to make a bunch of loops use foreach. NFC. 2015-07-30 17:22:52 +00:00
Basic [FileManager] Use StringRef::copy to store canonical paths. 2015-08-04 11:27:08 +00:00
CodeGen [CodeGen] Don't write into a SmallVector's uninitialized memory. 2015-08-04 12:34:30 +00:00
Driver [SHAVE] Pass all -f, -g, -O, -W options through directly to moviCompile. 2015-08-03 14:34:22 +00:00
Edit [Edit] Use StringRef's copy method. No functional change intended. 2015-08-04 11:18:09 +00:00
Format Do not force linebreaks when MaxEmptyLinesToKeep is 0. 2015-07-28 15:50:24 +00:00
Frontend [MS ABI] Hook clang up to the new EH instructions 2015-07-31 17:58:45 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers [X86][AVX512VLBW] add pack, cvt, mulhi and madd intrinsics 2015-08-03 07:51:00 +00:00
Index Rename MacroDefinition -> MacroDefinitionRecord, Preprocessor::MacroDefinition -> MacroDefinition. 2015-05-04 02:25:31 +00:00
Lex Improved error recovery for _Pragma 2015-07-30 21:30:00 +00:00
Parse Outline function Parser::ParseCXXClassMemberDeclarationWithPragmas(), NFC. 2015-07-31 08:42:25 +00:00
Rewrite Make local function isWhitespaceExceptNL static instead of in anonymous namespace 2015-07-28 04:54:03 +00:00
Sema [OPENMP 4.1] Support for 'linear' clause in loop directives. 2015-08-04 11:18:19 +00:00
Serialization [modules] Make IndirectFieldDecl mergeable to avoid lookup ambiguity when the same anonymous union is defined across multiple modules. 2015-08-04 02:05:09 +00:00
StaticAnalyzer Use llvm::reverse to make a bunch of loops use foreach. NFC. 2015-07-30 17:22:52 +00:00
Tooling Driver: Remove the Job class. NFC 2015-07-02 22:52:08 +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