diff options
Diffstat (limited to 'lib/CodeGen/Mangle.cpp')
-rw-r--r-- | lib/CodeGen/Mangle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/Mangle.cpp b/lib/CodeGen/Mangle.cpp index f9495b81b3..434d3c48fe 100644 --- a/lib/CodeGen/Mangle.cpp +++ b/lib/CodeGen/Mangle.cpp @@ -99,7 +99,7 @@ bool CXXNameMangler::mangleFunctionDecl(const FunctionDecl *FD) { // (always). if (!FD->hasAttr<OverloadableAttr>()) { // C functions are not mangled, and "main" is never mangled. - if (!Context.getLangOptions().CPlusPlus || FD->isMain(Context)) + if (!Context.getLangOptions().CPlusPlus || FD->isMain()) return false; // No mangling in an "implicit extern C" header. |