This commit is contained in:
Fangrui Song 2018-09-22 22:05:24 -07:00
parent 4ea0dee1c9
commit daa6fbf4b8

View File

@ -645,6 +645,7 @@ public:
case Decl::CXXConversion: // *operator* int => *operator int* case Decl::CXXConversion: // *operator* int => *operator int*
case Decl::CXXDestructor: // *~*A => *~A* case Decl::CXXDestructor: // *~*A => *~A*
case Decl::CXXMethod: // *operator*= => *operator=* case Decl::CXXMethod: // *operator*= => *operator=*
case Decl::Function: // operator delete
if (Loc.isFileID()) { if (Loc.isFileID()) {
SourceRange R = SourceRange R =
cast<FunctionDecl>(OrigD)->getNameInfo().getSourceRange(); cast<FunctionDecl>(OrigD)->getNameInfo().getSourceRange();