search for: redecl

Displaying 20 results from an estimated 20 matches for "redecl".

Did you mean: redecls
2015 Jun 17
2
[LLVMdev] Inline hint for methods defined in-class
...ase: --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -630,7 +630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { if (!CGM.getCodeGenOpts().NoInline) { for (auto RI : FD->redecls()) - if (RI->isInlineSpecified()) { + if (RI->isInlined()) { Fn->addFnAttr(llvm::Attribute::InlineHint); break; } I tried this on C++ benchmarks in SPEC 2006. There is no noticeable performance difference and the maximum text size increase is...
2004 May 02
0
rsync 2.6.2: clean up compilation warnings
...switch (error) { case POPT_ERROR_NOARG: diff -uwr rsync-2.6.2-old/popt/popt.h rsync-2.6.2/popt/popt.h --- rsync-2.6.2-old/popt/popt.h 2004-01-27 10:27:05.000000000 -0600 +++ rsync-2.6.2/popt/popt.h 2004-05-02 13:23:01.000000000 -0500 @@ -373,7 +373,7 @@ * @return error string */ /*@-redecl@*/ -/*@observer@*/ const char *const poptStrerror(const int error) +/*@observer@*/ const char * poptStrerror(const int error) /*@*/; /*@=redecl@*/ diff -uwr rsync-2.6.2-old/popt/popthelp.c rsync-2.6.2/popt/popthelp.c --- rsync-2.6.2-old/popt/popthelp.c 2004-01-27 10:27:05.000000000 -0600 +++ rs...
2015 Jun 17
2
[LLVMdev] Inline hint for methods defined in-class
...odeGenFunction.cpp > +++ b/lib/CodeGen/CodeGenFunction.cpp > @@ -630,7 +630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, > if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { > if (!CGM.getCodeGenOpts().NoInline) { > for (auto RI : FD->redecls()) > - if (RI->isInlineSpecified()) { > + if (RI->isInlined()) { > Fn->addFnAttr(llvm::Attribute::InlineHint); > break; > } > > I tried this on C++ benchmarks in SPEC 2006. There is no noticeable > performance difference...
2015 Jun 24
4
[LLVMdev] Inline hint for methods defined in-class
...deGen/CodeGenFunction.cpp > >> @@ -630,7 +630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, > >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { > >> if (!CGM.getCodeGenOpts().NoInline) { > >> for (auto RI : FD->redecls()) > >> - if (RI->isInlineSpecified()) { > >> + if (RI->isInlined()) { > >> Fn->addFnAttr(llvm::Attribute::InlineHint); > >> break; > >> } > >> > >> I tried this on C++ benchmarks i...
2019 May 08
2
How can I fix/exclude some failing tests when building with BUILD_SHARED_LIBS=ON
The test in question is clang-check-mac-libcxx-fixed-compilation-db.cpp which copies clang-check to a local directory to make sure clang can find libcxx via rpath. However, when built with shared libs, the copy of clang-check can't find any of it's libraries, so I'd like to either turn if off when BUILD_SHARED_LIBS=ON, or find a way to fix it. Thought about trying to use
2015 Jun 24
4
[LLVMdev] Inline hint for methods defined in-class
...+630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl >> > >> GD, >> > >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> > >> for (auto RI : FD->redecls()) >> > >> - if (RI->isInlineSpecified()) { >> > >> + if (RI->isInlined()) { >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> > >> break; >> > >> } >> > &...
2015 Jul 07
6
[LLVMdev] Inline hint for methods defined in-class
...ass: --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -630,7 +630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { if (!CGM.getCodeGenOpts().NoInline) { for (auto RI : FD->redecls()) - if (RI->isInlineSpecified()) { + if (RI->isInlined()) { Fn->addFnAttr(llvm::Attribute::InlineHint); break; } Here are the performance and size numbers I've collected: - C++ subset of Spec: No performance effects, < 0.1% size incr...
2015 Jun 24
2
[LLVMdev] Inline hint for methods defined in-class
...(GlobalDecl >> >> > >> GD, >> >> > >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) >> { >> >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> >> > >> for (auto RI : FD->redecls()) >> >> > >> - if (RI->isInlineSpecified()) { >> >> > >> + if (RI->isInlined()) { >> >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> >> > >> break; >> >...
2015 Jun 24
6
[LLVMdev] Inline hint for methods defined in-class
...(GlobalDecl >> >> > >> GD, >> >> > >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) >> { >> >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> >> > >> for (auto RI : FD->redecls()) >> >> > >> - if (RI->isInlineSpecified()) { >> >> > >> + if (RI->isInlined()) { >> >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> >> > >> break; >> >...
2015 Jun 24
3
[LLVMdev] Inline hint for methods defined in-class
...t; >> if (const FunctionDecl *FD = >> >> >> > >> dyn_cast_or_null<FunctionDecl>(D)) >> >> { >> >> >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> >> >> > >> for (auto RI : FD->redecls()) >> >> >> > >> - if (RI->isInlineSpecified()) { >> >> >> > >> + if (RI->isInlined()) { >> >> >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> >> >> > >...
2015 Jun 24
3
[LLVMdev] Inline hint for methods defined in-class
...D, >> >> >> > >> if (const FunctionDecl *FD = >> dyn_cast_or_null<FunctionDecl>(D)) >> >> { >> >> >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> >> >> > >> for (auto RI : FD->redecls()) >> >> >> > >> - if (RI->isInlineSpecified()) { >> >> >> > >> + if (RI->isInlined()) { >> >> >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> >> >> > >...
2015 Jun 24
2
[LLVMdev] Inline hint for methods defined in-class
...t; >> if (const FunctionDecl *FD = >> >> >> > >> dyn_cast_or_null<FunctionDecl>(D)) >> >> { >> >> >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> >> >> > >> for (auto RI : FD->redecls()) >> >> >> > >> - if (RI->isInlineSpecified()) { >> >> >> > >> + if (RI->isInlined()) { >> >> >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> >> >> > >...
2015 Jul 08
9
[LLVMdev] Inline hint for methods defined in-class
...gt;> +++ b/lib/CodeGen/CodeGenFunction.cpp >> @@ -630,7 +630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { >> if (!CGM.getCodeGenOpts().NoInline) { >> for (auto RI : FD->redecls()) >> - if (RI->isInlineSpecified()) { >> + if (RI->isInlined()) { >> Fn->addFnAttr(llvm::Attribute::InlineHint); >> break; >> } >> >> Here are the performance and size numbers I've collected: >&...
2019 Apr 30
6
Disk space and RAM requirements in docs
...ules/Output/modulemap-locations.m.tmp 136K build/tools/clang/test/CXX/dcl.decl/dcl.init 132K build/utils/unittest/UnitTestMain 132K build/tools/clang/test/Modules/Output/using-decl.cpp.tmp 132K build/tools/clang/test/Modules/Output/relative-dep-gen.cpp.tmp 132K build/tools/clang/test/Modules/Output/redecl-add-after-load.cpp.tmp 132K build/tools/clang/test/Modules/Output/normal-module-map.cpp.tmp 132K build/tools/clang/test/Modules/Output/modulemap-locations.m.tmp/14O45ARCRLSI5 132K build/tools/clang/test/Modules/Output/modular_maps.cpp.tmp 132K build/tools/clang/test/Modules/Output/decldef.mm.tmp 13...
2015 Jul 09
2
[LLVMdev] Inline hint for methods defined in-class
...odeGen/CodeGenFunction.cpp > >> @@ -630,7 +630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl > >> GD, > >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { > >> if (!CGM.getCodeGenOpts().NoInline) { > >> for (auto RI : FD->redecls()) > >> - if (RI->isInlineSpecified()) { > >> + if (RI->isInlined()) { > >> Fn->addFnAttr(llvm::Attribute::InlineHint); > >> break; > >> } > >> > >> Here are the performance and size numbers I've collected: > >>...
2015 Jun 24
2
[LLVMdev] Inline hint for methods defined in-class
...gt;> if (const FunctionDecl *FD = >> >> dyn_cast_or_null<FunctionDecl>(D)) >> >> >> { >> >> >> >> > >> if (!CGM.getCodeGenOpts().NoInline) { >> >> >> >> > >> for (auto RI : FD->redecls()) >> >> >> >> > >> - if (RI->isInlineSpecified()) { >> >> >> >> > >> + if (RI->isInlined()) { >> >> >> >> > >> Fn->addFnAttr(llvm::Attribute::InlineHint); >>...
2015 Jul 10
3
[LLVMdev] Inline hint for methods defined in-class
...@@ void > > >> CodeGenFunction::StartFunction(GlobalDecl > > >> GD, > > >> if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) > > >> { > > >> if (!CGM.getCodeGenOpts().NoInline) { > > >> for (auto RI : FD->redecls()) > > >> - if (RI->isInlineSpecified()) { > > >> + if (RI->isInlined()) { > > >> Fn->addFnAttr(llvm::Attribute::InlineHint); > > >> break; > > >> } > > >> > > >> Here are the performance and size numbers...
2015 Jul 10
2
[LLVMdev] Inline hint for methods defined in-class
...> > >> GD, > > > > >> if (const FunctionDecl *FD = > > > > >> dyn_cast_or_null<FunctionDecl>(D)) > > > > >> { > > > > >> if (!CGM.getCodeGenOpts().NoInline) { > > > > >> for (auto RI : FD->redecls()) > > > > >> - if (RI->isInlineSpecified()) { > > > > >> + if (RI->isInlined()) { > > > > >> Fn->addFnAttr(llvm::Attribute::InlineHint); > > > > >> break; > > > > >> } > > > > >> &...
2019 Jan 02
4
[lit] check-all hanging
Hi David, Chandler, I see lldb tests hang often, and then I kill the dotest process. I'd like to stop running check-all too, but I feel it's important when I modify FileCheck. The flakiness that Chandler mentioned makes it time-consuming to verify test results. Joel On Wed, Jan 2, 2019 at 4:41 PM Chandler Carruth via llvm-dev < llvm-dev at lists.llvm.org> wrote: > What
2017 Jul 26
15
[5.0.0 Release] Release Candidate 1 tagged
Dear testers, 5.0.0-rc1 has just been tagged. Please build, test and upload binaries to the sftp. Let me know if there are any issues. I'll upload sources, docs, and your binaries to the pre-release website once they're ready. Thanks, Hans