- Notifications
You must be signed in to change notification settings - Fork 15.1k
Description
| Bugzilla Link | 33970 |
| Resolution | FIXED |
| Resolved on | Jul 31, 2017 23:55 |
| Version | unspecified |
| OS | Linux |
| Blocks | #33196 |
Extended Description
with 5.0 svn branch 309348
/build/llvm-toolchain-5.0-5.0svn309348/tools/clang/tools/extra/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp: In function 'int main(int, char**)':svn309348/tools/clang/tools/extra/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp:202:37: error: invalid conversion from 'void ()(llvm::raw_ostream&)' to 'void ()()' [-fpermissive]
/build/llvm-toolchain-5.0-5.0
cl::SetVersionPrinter(printVersion);
^
In file included from /build/llvm-toolchain-5.0-5.0svn309348/tools/clang/include/clang/Frontend/CommandLineSourceLoc.h:19:0,svn309348/tools/clang/include/clang/Frontend/FrontendOptions.h:13,
from /build/llvm-toolchain-5.0-5.0
from /build/llvm-toolchain-5.0-5.0svn309348/tools/clang/include/clang/Frontend/FrontendAction.h:25,svn309348/tools/clang/include/clang/Tooling/Tooling.h:39,
from /build/llvm-toolchain-5.0-5.0
from /build/llvm-toolchain-5.0-5.0svn309348/tools/clang/include/clang/Tooling/Refactoring.h:23,svn309348/tools/clang/tools/extra/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h:20,
from /build/llvm-toolchain-5.0-5.0
from /build/llvm-toolchain-5.0-5.0svn309348/tools/clang/tools/extra/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp:16:svn309348/include/llvm/Support/CommandLine.h:74:6: note: initializing argument 1 of 'void llvm::cl::SetVersionPrinter(void (*)())'
/build/llvm-toolchain-5.0-5.0
void SetVersionPrinter(void (*func)());
^~~~~~~~~~~~~~~~~