aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-07-24 08:54:22 +0000
committerTamas Berghammer <tberghammer@google.com>2015-07-24 08:54:22 +0000
commit5aa27e1acca98e3f8f1cf2da47dc4b05297786c5 (patch)
treefaa29b128e2ec264942313fba1b9cd856b103c60 /clang/lib/CodeGen/ModuleBuilder.cpp
parent327675baa9bf1cd015c67f58dc52354dbe865529 (diff)
downloadllvm-5aa27e1acca98e3f8f1cf2da47dc4b05297786c5.zip
llvm-5aa27e1acca98e3f8f1cf2da47dc4b05297786c5.tar.gz
llvm-5aa27e1acca98e3f8f1cf2da47dc4b05297786c5.tar.bz2
Improve C++ function name handling and step-in avoid regerxp handling
If the function is a template then the return type is part of the function name. This CL fixes the parsing of these function names in the case when the return type contains ':'. The name of free functions in C++ don't have context part. Fix the logic geting the function name without arguments out from a full function name to handle this case. Change the handling of step-in-avoid-regexp to match the value against the function name without it's arguments and return value. This is required because the default regex ("^std::") would match any template function returning an std object. Fifferential revision: http://reviews.llvm.org/D11461 llvm-svn: 243099
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions