mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Convert windows path seperators to unix like while doing IncludeWhatYouUse.
Review URL: https://codereview.appspot.com/5601049
This commit is contained in:
parent
dc28970e18
commit
90ecb62a9f
2
cpplint/cpplint.py
vendored
2
cpplint/cpplint.py
vendored
|
@ -3054,7 +3054,7 @@ def CheckForIncludeWhatYouUse(filename, clean_lines, include_state, error,
|
||||||
header_found = False
|
header_found = False
|
||||||
|
|
||||||
# Use the absolute path so that matching works properly.
|
# Use the absolute path so that matching works properly.
|
||||||
abs_filename = os.path.abspath(filename)
|
abs_filename = FileInfo(filename).FullName()
|
||||||
|
|
||||||
# For Emacs's flymake.
|
# For Emacs's flymake.
|
||||||
# If cpplint is invoked from Emacs's flymake, a temporary file is generated
|
# If cpplint is invoked from Emacs's flymake, a temporary file is generated
|
||||||
|
|
Loading…
Reference in New Issue
Block a user