Skip to content

[NFC] Fix c++ style comment in c file #138244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clang/tools/c-index-test/c-index-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ static CXString createCXString(const char *CS) {
static CXString duplicateCXString(const char *CS) {
CXString Str;
Str.data = strdup(CS);
Str.private_flags = 1; // CXS_Malloc
Str.private_flags = 1; /* CXS_Malloc */
return Str;
}

Expand Down
10 changes: 6 additions & 4 deletions llvm/include/llvm/Support/AutoConvert.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,16 @@ std::error_code restorezOSStdHandleAutoConversion(int FD);
/** \brief Set the tag information for a file descriptor. */
std::error_code setzOSFileTag(int FD, int CCSID, bool Text);

// Get the the tag ccsid for a file name or a file descriptor.
/** \brief Get the the tag ccsid for a file name or a file descriptor. */
ErrorOr<__ccsid_t> getzOSFileTag(const char *FileName, const int FD = -1);

// Query the file tag to determine if it needs conversion to UTF-8 codepage.
/** \brief Query the file tag to determine if it needs conversion to UTF-8
* codepage.
*/
ErrorOr<bool> needzOSConversion(const char *FileName, const int FD = -1);

} // namespace llvm
#endif // __cplusplus
} /* namespace llvm */
#endif /* __cplusplus */

#endif /* __MVS__ */

Expand Down