summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-06-27 16:37:27 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-06-27 16:37:27 +0000
commit0cebf9262b4ab79d9c8780e61dee504d6a15986a (patch)
tree5639942d4706972e2a83fb8bbcd154f6c1b43e2d /lib/CodeGen/CGExprComplex.cpp
parent7896f834da1eb8de232b9476f7a22323012cd19a (diff)
downloadclang-0cebf9262b4ab79d9c8780e61dee504d6a15986a.tar.gz
clang-0cebf9262b4ab79d9c8780e61dee504d6a15986a.tar.bz2
clang-0cebf9262b4ab79d9c8780e61dee504d6a15986a.tar.xz
Fix a bug in my previous patch by restoring the behavior that the fatal
error handler is only registered once. To avoid the use of std::call_once (the obvious way to do this) I've wrapped everything up into a managed static and done the work in a constructor. Silly, but it should be effective. Some out-of-tree libclang users reported this to me, and I've asked them to put together a test case which exhibits this behavior, but I wanted to fix things ASAP since the nature of the fix is straight forward. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211905 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions