Commit Graph

22 Commits

Author SHA1 Message Date
Adrian Prantl
ff63eaea6f Remove \brief commands from doxygen comments.
We've been running doxygen with the autobrief option for a couple of
years now. This makes the \brief markers into our comments
redundant. Since they are a visual distraction and we don't want to
encourage more \brief markers in new code either, this patch removes
them all.

Patch produced by

      for i in $(git grep -l '\\brief'); do perl -pi -e 's/\\brief //g' $i & done
2018-12-04 15:45:04 -08:00
Bob Wilson
37e7d1c627 Merge remote-tracking branch 'origin/master' into master-next 2017-01-08 17:07:46 -08:00
practicalswift
6d1ae2a39c [gardening] 2016 → 2017 2017-01-06 16:41:22 +01:00
Bob Wilson
13da3fa8b1 Merge remote-tracking branch 'origin/master' into master-next 2016-12-04 18:16:09 -08:00
practicalswift
797b80765f [gardening] Use the correct base URL (https://swift.org) in references to the Swift website
Remove all references to the old non-TLS enabled base URL (http://swift.org)
2016-11-20 17:36:03 +01:00
Bob Wilson
9cc68d6c9f Update for clang r283671: remove use of clEnumValEnd. 2016-10-15 11:02:20 -07:00
Doug Gregor
580a2812a3 [Clang importer] Enable API notes alongside header/frameworks.
Enable newly-introduced Clang functionality to load API notes stored
alongside the headers for a module or, for a framework, in an APINotes
subdirectory within the framework. Fixes rdar://problem/28455644.
2016-09-28 00:13:16 -07:00
Saleem Abdulrasool
dc078691dd driver: add braces
Adjust style as per gottesmm's request.
2016-07-01 19:38:00 -07:00
Saleem Abdulrasool
5ec5310f53 [upstream-update] driver: adapt to the new cl API
This was changed in the LLVM SVN r274171.
2016-07-01 10:33:08 -07:00
practicalswift
993453978f [gardening] Fix formatting of recently introduced file header 2016-03-05 08:32:51 +01:00
Doug Gregor
da60535ced [Driver / API Notes] Re-introduce "-apinotes" driver flag to compile API notes.
Using Clang to compile API notes introduces a dependency on the
underlying Clang, which can cause problems as Clang's support for API
notes evolves. Re-introduce the "-apinotes" driver flag into the Swift
driver to allow us to compile API notes, and use that (rather than
Clang) to precompile API notes for the overlays.
2016-03-04 14:12:15 -08:00
Doug Gregor
e0afb13abb Remove the APINotes library; it lives in Clang, now.
Swift SVN r22286
2014-09-25 18:48:43 +00:00
Doug Gregor
6559392293 Start re-namespacing APINotes and its dependencies.
FixNum.h and BCRecordLayout.h will move down into LLVM, APINotes
will move into Clang. Get the namespaces right before we start to move
files around.

Swift SVN r22218
2014-09-23 17:52:17 +00:00
Andrew Trick
9ce5894db1 Fix raw_fd_ostream calls for ToT constructor changes
Swift SVN r21447
2014-08-25 23:29:36 +00:00
Anna Zaks
39eb145c10 APINotes: Teach the YAML converter about OS availability.
The converter silently drops the API which are available only on a OS different from the specified "target".

I've restructured the code so that we would not have to pass the parameters around.

TODO:
 - Make the traget argument required.
 - Use it in the build system when building swift
 - Add a test case for when the whole framework is missing. (Tested manually.)

Swift SVN r20464
2014-07-24 03:16:58 +00:00
Doug Gregor
f48829c7a7 API notes: add the ability to translate a binary API notes file (.apinotesc) into YAML
Swift SVN r20333
2014-07-22 21:15:11 +00:00
Anna Zaks
0af674ccec API Notes: Add YAML to binary conversion.
Test that we are on par with known methods for Foundation and NotificationCenter.

Swift SVN r20328
2014-07-22 20:34:10 +00:00
Anna Zaks
59ba50d01a Pass reference to content to the YAML parser, instead of filename.
This also makes sure that the input buffer lives long enough.

Swift SVN r20266
2014-07-21 18:46:59 +00:00
Anna Zaks
993b822280 API Notes: complete parsing of the YAML format
This parses all the fields we are interested in.

Also, add the up-to-date spec of the YAML format in the comments.

Swift SVN r20205
2014-07-19 02:46:00 +00:00
Anna Zaks
ae3e822c2c Add a skeleton for API Notes YAML-to-binary conversion
Reapplies r20137 with most comments addressed.

Parses a YAML file (but not the final/full format yet).

Adds an entry to the driver for the apinotes "tool". We want the tool
to be visible to the user so it has to go to the driver.

Very limited testing as of now.

Swift SVN r20173
2014-07-18 19:54:11 +00:00
Greg Parker
00060d67d0 Revert r20137 because it breaks the arm64 build.
Swift SVN r20142
2014-07-18 06:34:43 +00:00
Anna Zaks
7fab0c91e2 Add a skeleton for API Notes YAML-to-binary conversion
Parses a YAML file (but not the final/full format yet).

Adds an entry to the driver for the apinotes "tool". We want the tool
to be visible to the user so it has to go to the driver.

Very limited testing as of now.

Swift SVN r20137
2014-07-18 03:39:03 +00:00