Skip to content

Commit

Permalink
improve linting
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronj0 committed Apr 3, 2024
1 parent 217bc73 commit 80b4cbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/clang/Interpreter/CppInterOp.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ namespace Cpp {
CPPINTEROP_API std::vector<TCppFunction_t> GetClassMethods(TCppScope_t klass);

///\returns Template function pointer list to add proxies for
///un-instantiated/non-overloaded templated methods
/// un-instantiated/non-overloaded templated methods
std::vector<TCppFunction_t> GetTemplatedFuncs(TCppScope_t klass);

///\returns if a class has a default constructor.
Expand Down
5 changes: 2 additions & 3 deletions lib/Interpreter/CppInterOp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1060,9 +1060,8 @@ namespace Cpp {
}

else {
// right now if the function has not been instantiated these will give
// types like "A" or "B" that can take any types We make this match
// solely based on count
// right now uninstantiated functions give template typenames instead of
// actual types We make this match solely based on count

const FunctionDecl* func = TFD->getTemplatedDecl();
const auto& params = func->parameters();
Expand Down

0 comments on commit 80b4cbf

Please sign in to comment.