hanchenye-llvm-project/clang/lib
David Majnemer 11d2427b21 AST: Fix the mangling for unqualified-blocks
CXXNameMangler::mangleUnqualifiedBlock believed that
MangleContext::getBlockId returned something that used Itanium-style
discriminator numbers.

Discriminator numbers start their numberign from 1 and the first
mangling that actually gets any sort of number mangled in is the second
discriminator.

However, Block IDs start from zero.  The logic for omitting the mangling
number did a ' > 1' instead of a ' > 0' comparison; this could
potentially cause mangling conflicts.

llvm-svn: 214699
2014-08-04 06:16:50 +00:00
..
ARCMigrate Revert "unique_ptr-ify ownership of ASTConsumers" 2014-07-17 22:34:12 +00:00
AST AST: Fix the mangling for unqualified-blocks 2014-08-04 06:16:50 +00:00
ASTMatchers Prevent assert in ASTMatchFinder. 2014-07-23 13:17:47 +00:00
Analysis Fix some cases of incorrect handling of lifetime extended temporaries. 2014-07-30 08:34:42 +00:00
Basic Let's assume PowerPC has no SSE. 2014-08-01 21:20:02 +00:00
CodeGen In the case of mangling collisions, make an attempt to note both definitions 2014-08-02 00:50:16 +00:00
Driver Driver: Simplify a use of the path API 2014-08-03 21:46:33 +00:00
Edit [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
Format clang-format: Add a space in ObjC protocols. 2014-08-01 13:03:05 +00:00
Frontend Add a missing close quote in "while building module 'Foo:" diagnostic. 2014-07-26 01:22:02 +00:00
FrontendTool Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Headers [AVX512] Add unaligned FP load intrinsics 2014-07-31 04:00:39 +00:00
Index Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Lex Don't destroy MacroInfos if we find the macro definition is invalid; it'll get 2014-08-03 23:41:04 +00:00
Parse Initializing the loop hint option token again. 2014-08-01 12:41:37 +00:00
Rewrite Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Sema PR11778: Fix the rejects-valid half of this bug. We still produce the same 2014-08-04 00:40:48 +00:00
Serialization [modules] Remove IRGen special case for emitting implicit special members if 2014-08-01 01:56:39 +00:00
StaticAnalyzer [OPENMP] Initial parsing and sema analysis for 'atomic' directive. 2014-07-22 10:10:35 +00:00
Tooling Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +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