{"published":"2025-02-27 15:00:00","url":"https://engineering.nature.global/entry/replace-yoda-condition-by-libclang","version":"1.0","author_name":"kons9","blog_title":"Nature Engineering Blog","description":"\u306f\u3058\u3081\u306b \u3053\u3093\u306b\u3061\u306f\u3002\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u30c1\u30fc\u30e0\u3001\u30a4\u30f3\u30bf\u30fc\u30f3\u306e\u5f8c\u85e4\u3067\u3059\u3002 \u4fee\u58eb\u8ad6\u6587\u306e\u767a\u8868\u3068\u63d0\u51fa\u304c\u7121\u4e8b\u306b\u7d42\u308f\u308a\u3001\u6bce\u65e5\u304c\u5e78\u305b\u3044\u3063\u3071\u3044\u3067\u3059\u3002 \u30ec\u30ac\u30b7\u30fc\u30b3\u30fc\u30c9\u30ea\u30d5\u30a1\u30af\u30bf\u306e\u4e00\u74b0\u3068\u3057\u3066\u3001\u30e8\u30fc\u30c0\u8a18\u6cd5\u3092\u7f6e\u63db\u3057\u3088\u3046\u3068\u3044\u3046\u8a71\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u4eca\u56de\u306flibclang\u3092\u7528\u3044\u3066\u30e8\u30fc\u30c0\u8a18\u6cd5\u3092\u7f6e\u63db\u3059\u308b\u304a\u8a71\u3067\u3059\u3002 \u306f\u3058\u3081\u306b \u30e8\u30fc\u30c0\u8a18\u6cd5\u3068\u306f libclang\u3068\u306f \u5bfe\u8c61\u3001\u975e\u5bfe\u8c61\u306e\u30e8\u30fc\u30c0\u8a18\u6cd5\u4f8b \u7f6e\u63db\u307e\u3067\u306e\u6d41\u308c \u901f\u7fd2libclang libclang\u306e\u69cb\u9020 AST\u306e\u63a2\u7d22\u65b9\u6cd5 \u30ce\u30fc\u30c9\u306e\u5224\u5225 AST\u3068\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3068\u306e\u5bfe\u5fdc \u30e8\u30fc\u30c0\u8a18\u6cd5\u306e\u691c\u77e5 \u691c\u7d22\u6761\u4ef6 JSON\u30d5\u30a9\u30fc\u30de\u30c3\u30c8 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 \u691c\u77e5\u51e6\u7406(C++) C++\u30d5\u30a1\u30a4\u30eb\u751f\u6210\u30b9\u30af\u30ea\u30d7\u30c8(\u2026","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/153216657/165425705348297","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengineering.nature.global%2Fentry%2Freplace-yoda-condition-by-libclang\" title=\"\u30e8\u30fc\u30c0\u8a18\u6cd5\u3092libclang\u4f7f\u3063\u3066\u7f6e\u63db\u3057\u3066\u307f\u305f - Nature Engineering Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/kons9/","categories":[],"title":"\u30e8\u30fc\u30c0\u8a18\u6cd5\u3092libclang\u4f7f\u3063\u3066\u7f6e\u63db\u3057\u3066\u307f\u305f","height":"190","type":"rich","width":"100%","blog_url":"https://engineering.nature.global/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog"}