Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1785
Symbols update script, with filtering out constructors to eliminate multiple symbol conflicts
Active
Public
Actions
Authored by
matelich
on May 19 2015, 12:31 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
Symbols
Referenced Files
F410150: Symbols update script, with filtering out constructors to eliminate multiple symbol conflicts
May 19 2015, 12:31 PM
2015-05-19 12:31:24 (UTC+0)
Subscribers
None
#need a git clone /path/to/repos/REPO
cd
repo_dir
git pull
find projects/ -iregex
'.*\.\(cs\|h\|cpp\|inl\|hpp\)$'
|
/path/to/phabricator/scripts/symbols/generate_ctags_symbols.php > /tmp/repo_dir_symbols.txt
#remove constructors
cat repo_dir_symbols.txt
|
grep -E -v
'\b(\w+)\s+\1\b'
> /tmp/repo_dir_symbols_filtered.txt
#documentation says to use rREPO but that didn't work
sudo -u phab /path/to/phabricator/scripts/symbols/import_repository_symbols.php REPO < /tmp/repo_dir_symbols_filtered.txt
cd
-
Event Timeline
matelich
edited the content of this paste.
(Show Details)
May 19 2015, 12:31 PM
2015-05-19 12:31:24 (UTC+0)
matelich
changed the title of this paste from untitled to
Symbols update script, with filtering out constructors to eliminate multiple symbol conflicts
.
matelich
updated the paste's language from
autodetect
to
bash
.
matelich
added a project:
Symbols
.
matelich
mentioned this in
Community Resources
.
May 19 2015, 12:36 PM
2015-05-19 12:36:38 (UTC+0)
Log In to Comment