Skip to content
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

暗黙的cast する ノード にマッチする matcher を作成 #36

Merged
merged 12 commits into from
Jan 16, 2023
Merged
Prev Previous commit
Next Next commit
move: read系バグファイルを移動
  • Loading branch information
Ran350 committed Jan 14, 2023
commit c82319fab31aa83c1f0bb1da5a578101fad964c7
File renamed without changes.
11 changes: 11 additions & 0 deletions clang-query/read-bug/read-bug.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include <sys/stat.h>

void referFileTimeStamp() {
struct stat statBuf;
if (stat("a.c", &statBuf) == 0) {
printf("%ld\n", statBuf.st_atime);
printf("%ld\n", statBuf.st_mtime);
printf("%ld\n", statBuf.st_ctime);
printf("%ld\n", statBuf.st_mode); // st_[amc]time 以外はマッチされない
}
}