Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Analyze @global functions, and respect @function name override. #774

Merged
merged 2 commits into from
Nov 30, 2017

Conversation

aomarks
Copy link
Member

@aomarks aomarks commented Nov 30, 2017

Part of https://github.com/Polymer/gen-typescript-declarations/issues/23

(Also ran clang-format, so look at the second commit separately.)

  • CHANGELOG.md has been updated

@aomarks aomarks force-pushed the fn-annotations branch 5 times, most recently from 8943532 to b90e435 Compare November 30, 2017 18:37
@aomarks aomarks changed the title Analyze @public functions, and respect @function name override. Analyze @global functions, and respect @function name override. Nov 30, 2017
@FredKSchott
Copy link
Contributor

Huh, looks like a new update changed a few style things with clang-format:
http://lists.llvm.org/pipermail/llvm-bugs/2017-February/053609.html

I much prefer the whitespace between async & (, but since it's not an option with clang-format I guess 🤷‍♂️

Copy link
Contributor

@FredKSchott FredKSchott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this is a nice improvement

@aomarks
Copy link
Member Author

aomarks commented Nov 30, 2017

Yeah, I just ran npm run format in the first separate commit. Didn't bump the clang version or anything. It seems like we're not regularly running clang format.

@aomarks aomarks merged commit 5f67150 into master Nov 30, 2017
@aomarks aomarks deleted the fn-annotations branch November 30, 2017 19:34
aomarks added a commit to Polymer/polymer that referenced this pull request Nov 30, 2017
This will let Analyzer discover it thanks to
Polymer/polymer-analyzer#774.
@aomarks
Copy link
Member Author

aomarks commented Nov 30, 2017

Also, the more recent version of clang-format does put the space after async. I'm happy to bump it and run it over everything.

@FredKSchott
Copy link
Contributor

Yes please! (when you have time)

@aomarks
Copy link
Member Author

aomarks commented Nov 30, 2017

#775

aomarks added a commit to Polymer/polymer that referenced this pull request Nov 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants