]> granicus.if.org Git - clang/commit
[ubsan] PR34266: When sanitizing the 'this' value for a member function that happens...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 23 Aug 2017 19:39:04 +0000 (19:39 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 23 Aug 2017 19:39:04 +0000 (19:39 +0000)
commitda8dca22517ea74afb2c69dae4247388b314cc3b
tree89a8684c4090227652b747d5ede6803c63f6f3ad
parent01c1581a9c6677d4316d0d7b64c8e9a1cb742e1b
[ubsan] PR34266: When sanitizing the 'this' value for a member function that happens to be a lambda call operator, use the lambda's 'this' pointer, not the captured enclosing 'this' pointer (if any).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311589 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclCXX.h
lib/CodeGen/CodeGenFunction.cpp
test/CodeGenCXX/catch-undef-behavior.cpp