Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Dietrich
clang-hash
Commits
312ce743
Commit
312ce743
authored
Feb 04, 2017
by
Christian Dietrich
Browse files
don't hash macro definitions from command line
parent
ac74244e
Pipeline
#3108
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/clang-hash.cc
View file @
312ce743
...
...
@@ -287,6 +287,9 @@ private:
if
(
Arg
.
substr
(
0
,
2
)
==
"-I"
)
{
continue
;
// also don't hash include paths
}
if
(
Arg
.
substr
(
0
,
2
)
==
"-D"
)
{
continue
;
// also don't hash macro defines
}
if
(
Arg
.
find
(
"-hash-verbose"
)
!=
std
::
string
::
npos
)
{
continue
;
// also don't hash this (plugin argument)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment