Skip to content

Commit

Permalink
Adds a work-around to pass the module tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulXiCao committed Jul 7, 2024
1 parent 2479870 commit a2ace48
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions libcxx/utils/libcxx/test/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@
# This declaration is in the ostream header.
ExtraDeclarations["system_error"] = ["std::operator<<"]

# TODO MODULES avoid this work-around
# This is a work-around for the special math functions. They are declared in
# __math/special_functions.h. Adding this as an ExtraHeader works for the std
# module. However these functions are special; they are not available in the
# global namespace.
ExtraDeclarations["cmath"] = ["std::hermite", "std::hermitef", "std::hermitel"]

### ExtraHeader

# Adds extra headers file to scan
Expand Down

0 comments on commit a2ace48

Please sign in to comment.