]> granicus.if.org Git - clang/commit
Switch the standard DeclarationName comparator to be a tri-valued comparator.
authorJohn McCall <rjmccall@apple.com>
Sat, 13 Feb 2010 01:04:05 +0000 (01:04 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 13 Feb 2010 01:04:05 +0000 (01:04 +0000)
commit7fe0b9ea2c8137c035402e6ea01dfdfbc93214cb
treef2563e0d6deec8c7a5457786b9d2e000ca96173b
parentc1ddcabef0b0e1185b6ea35d64a1ff41dabd7626
Switch the standard DeclarationName comparator to be a tri-valued comparator.
Use that while fixing a nasty misuse of qsort in vtable codegen which, somehow,
has not actually caused a crash.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96062 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclarationName.h
lib/AST/DeclarationName.cpp
lib/CodeGen/CGVtable.cpp