[webkit-changes] [WebKit/WebKit] c77804: [Clang][Win][JSC] dfg/DFGJITCode.h(163, 18): warnin...

Fujii Hironori noreply at github.com
Sun Apr 16 22:56:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c778044f0f66301348edea64fba9f0c7b96c59c3
      https://github.com/WebKit/WebKit/commit/c778044f0f66301348edea64fba9f0c7b96c59c3
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2023-04-16 (Sun, 16 Apr 2023)

  Changed paths:
    M Source/JavaScriptCore/dfg/DFGJITCode.h
    M Source/JavaScriptCore/dfg/DFGSpeculativeJIT.h

  Log Message:
  -----------
  [Clang][Win][JSC] dfg/DFGJITCode.h(163,18): warning: unqualified friend declaration referring to type outside of the nearest enclosing namespace is a Microsoft extension
https://bugs.webkit.org/show_bug.cgi?id=255504

Reviewed by Ross Kirsling.

clang-cl reported the following 2 warnings for Windows port.

> dfg/DFGJITCode.h(163,18): warning: unqualified friend declaration referring to type outside of the nearest enclosing namespace is a Microsoft extension; add a nested name specifier [-Wmicrosoft-unqualified-friend]
>     friend class LLIntOffsetsExtractor;
>                  ^
>                  ::JSC::
> dfg\DFGSpeculativeJIT.h(1032,5): warning: non-void function does not return a value [-Wreturn-type]

* Source/JavaScriptCore/dfg/DFGJITCode.h:
* Source/JavaScriptCore/dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::appendCallWithUGPRPair):

Canonical link: https://commits.webkit.org/263013@main




More information about the webkit-changes mailing list