Displaying 20 results from an estimated 8000 matches similar to: "Tidy symlinks"
2007 Jun 02
1
tidy dir recursive, but preserve itself
Hi all,
I''d like to clean up a temp. directory (files and subdirs within), but even
the directory should be preserved, e.g.:
tidy { "/var/trash":
age => ''1m'',
recurse => true,
type => atime,
rmdirs => true
}
This does not only remove the content of /var/trash with an atime greater 1m,
but also /var/trash . How
2005 Oct 11
5
scp bug: newly created dirs do not inherit sgid bit
Dear developers,
I discovered that directories created by scp when recursive
copying into a sgid directory do not inherit the sgid bit. I believe
this is a bug. A patch to fix this is attached.
Regards,
Petr Skovron
-------------- next part --------------
--- scp.c.orig 2005-10-11 16:50:17.000000000 +0200
+++ scp.c 2005-10-11 16:57:25.000000000 +0200
@@ -876,8 +876,12 @@
2006 Oct 16
1
Question regarding ''tidy'' type
Hello all,
I am trying to use the tidy type to clean up a directory that I use for
running scripts via puppet. My relevant manifest looks like:
tidy { "/root/.puppet/" :
age => ''30D'',
path => ''/root/.puppet/'',
recurse => true,
rmdirs => true,
type => atime,
}
However, when I run puppet it
2005 Jul 29
1
Samba permissions
I am working on my permissions and something does not quite make sense
to me. Here is what I have set.
/DIR (Unix permissions are 3777)
Then in samba I have the following
[dir]
path = /DIR
read only = no
valid users @teach @student
create mask 3660
directory mask 3770
Then from a windows workstation, I create a new directory inside 'dir',
and call it 'teach'.
The
2020 Sep 27
4
[clang-tidy] where are "clang-diagnostic" checkers
Hi, all,
I build clang-tidy by "ninja clang-tidy", but when I run below command, I get no checks. Where is the clang-diagnostic* checkers? Thanks in advance.
> $ /Users/zyg/Documents/workspace/llvm-project/llvm/cmake-build-debug/bin/clang-tidy --checks="-*,clang-diagnostic-*" --list-checks
No checks enabled.
2017 Aug 14
2
clang-tidy : Modify cert-err60-cpp configuration
We want to modify the aforementioned check so that it does not flag the
exceptions that aren't nothrow copy constructible/assignable.
This page
http://clang.llvm.org/extra/clang-tidy/#using-clang-tidy
tells me to dump the configs of all the checks using
%clang-tidy -checks=* -dump-config
but it does not mention the cert-err60-cpp.
How do I modify the configuration of this check so that it
2016 Dec 29
0
[cfe-dev] Modernizing LLVM Coding Style Guide and enforcing Clang-tidy
Dave pointed out that I didn't complete one aspect of my argument on the
push_back vs. emplace_back:
On Thu, Dec 29, 2016 at 2:04 PM Chandler Carruth <chandlerc at gmail.com>
wrote:
> Still another way to see the consequence of this is to look at the nature
> of compiler errors when a programmer makes a mistake.
>
> With emplace_back, if you fail to call the constructor
2007 May 15
5
Trying to make tidy{} work
Hi,
Say I''ve got a directory full of stale Tomcat temp files of the form:
/usr/local/blackboard/apps/tomcat/work/Catalina/localhost/webapps_assessment/strts6866.tmp
and I want to delete any files that haven''t changed in a week and not
keep any backup.
Should this get rid of them:
tidy {
2013 Feb 17
1
tidy.source() gets confused when # is not a comment but a part of a literal string?
I needed to clean someone else code and run it through tidy.source. It encountered a number of hangups which after some experimentation lead me to suspect that the culprit is # symbol when it is a part of literal string. For example if i copy the following to the clipboard
confuse.tidy <-
function()
{
txt <- 'abra # cadabra'
}
and run with default arguments
>tidy.source()
2020 Jan 02
2
merge_guards_bot reports clang-tidy/clang-format findings unrelated to modified code
First, I love this bot:) It makes LLVM's "pushing to master" practise less awful:)
Now the main topic...
> clang-tidy: fail. Please fix clang-tidy findings.
For example, on https://reviews.llvm.org/D72103#1801916 ,
merge_guards_bot reports clang-tidy findings of existing code, not just
the modified code.
I think https://github.com/google/llvm-premerge-checks should use
2019 Jul 03
2
clang-tidy standalone
Hello,
sorry for posting this here but I'm kind of stuck. I'm trying to introduce LLVM tooling step by step at the company I'm working for. So far I'm using clang-format for automated formatting.
Since I'm also working on the coding guideline I wanted to use clang-tidy for enforcing the naming convention. The problem is that we're using a plain old MAKE project, so I
2007 Jan 25
3
r tidy
Is there an r-tidy program? something that works similar to perl
tidy? http://perltidy.sourceforge.net/ which takes program code
and reformats white space with standard indentations and spacing?
I did find a ruby based rtidy, but that is for html formatting.
// George
--
George Georgalis, systems architect, administrator <IXOYE><
2009 Oct 29
2
Makevars, cc files in multiple directories
Hello,
In the src folder of my R package I have
a.cc
b.cc
f/g/x.cc
my Makevars.in has
all: $(SHLIB)
upon installing only, a.o and b.o is build and the final dll is
comprised of a.o and b.o
How can I instruct $(SHLIB) to pick up its source files from all
subdirectories (or maybe a subset, though here it will be all)
in src ?
Much thanks
Saptarshi
2016 Dec 29
5
Modernizing LLVM Coding Style Guide and enforcing Clang-tidy
Hi everyone,
I would like to start a discussion about enforcing use of clang-tidy (or
better clang-tidy-diff) on patches before sending it to review.
I like how clang-format simplified sending patches and reviews, e.g. "Use
clang-format" instead of giving long list of lines that should be formatted
by reviewer.
I believe that clang-tidy can be also be very helpful here.
Note that by
2016 Dec 29
0
[cfe-dev] Modernizing LLVM Coding Style Guide and enforcing Clang-tidy
I'm a bit confused by this whole discussion.
clang-format is neither mandated (by documentation) nor enforced (by any
infrastructure/automation) for use in the LLVM project that I know of.
It's convenient, and in review people may reasonably ask authors to
consider running it, etc - but we have no system that requires or checks
for that. Might be nice, might not be.
It sounds like even
2016 Mar 11
7
Any objections to re-sorting #include lines with clang-format/clang-tidy?
The crazy clang-format folks have taught it to sort includes, and
clang-tidy has a nice way to run it across all of LLVM and Clang.
Before I just submit the fixes (and any bug reports to the clang-format
folks if it sorts things weirdly) I wanted to double check that folks would
be ok with this. My understanding is that the sorting should match the LLVM
conventions, but if not, I'll make sure
2014 Aug 11
2
Some initial tidy-ups and refactoring
The patches contain some tidy-up work, and refactoring that has arisen
as a by-product of my initial work on adding TV support to nv50.
Best Regards
Joel Holdsworth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-nouveau-Removed-unneeded-include-in-nvc0_fence.c.patch
Type: text/x-patch
Size: 726 bytes
Desc: not available
URL:
2017 Apr 07
3
Widescale clang-tidy (or similar) based cleanup
There have been some efforts recently to use clang-tidy or similar
automated refactoring to make project-wide cleanups/improvements to the
LLVM codebase that appear to me to be a bit out of character with the sort
of changes & philosophies that have been applied in the past.
I think there are a few issues at hand which I'll try to summarize:
* Churn/blame-convenience:
Previously, large
2020 Sep 27
3
How to add a new clang-tidy module
Hi, all,
I am planning to add clang-tidy checkers for my company. How to add a new module for my company? Please help, thanks in advance.
I try to copy files from cert module, and rename cert to Misra, then add a rule named "m-0-1-1" by ./add_new_checker.py.
then I run ninja check-clang-tool, but my case is failed due to below error
Running ['clang-tidy',
2016 Sep 21
4
Creating a clang-tidy const position check
I'm in the process of writing a clang-tidy check that concerns the
position of the "const" keyword. The check should either enforce "T
const" or "const T", based on a flag. Naturally, this should extend to
all sorts of variations and qualifiers, e.g., X<const T&, Y const*>
const&.
My approach is to first find the right AST matcher expression to flag