Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for analysisFlags (0.46 sec)

  1. src/cmd/go/internal/test/internal/genflags/vetflag.go

    	vetcmd.Stdout = out
    	if err := vetcmd.Run(); err != nil {
    		return nil, fmt.Errorf("go vet: can't execute %s -flags: %v\n", tool, err)
    	}
    	var analysisFlags []struct {
    		Name  string
    		Bool  bool
    		Usage string
    	}
    	if err := json.Unmarshal(out.Bytes(), &analysisFlags); err != nil {
    		return nil, fmt.Errorf("go vet: can't unmarshal JSON from %s -flags: %v", tool, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/vet/vetflag.go

    	if err := vetcmd.Run(); err != nil {
    		fmt.Fprintf(os.Stderr, "go: can't execute %s -flags: %v\n", tool, err)
    		base.SetExitStatus(2)
    		base.Exit()
    	}
    	var analysisFlags []struct {
    		Name  string
    		Bool  bool
    		Usage string
    	}
    	if err := json.Unmarshal(out.Bytes(), &analysisFlags); err != nil {
    		fmt.Fprintf(os.Stderr, "go: can't unmarshal JSON from %s -flags: %v", tool, err)
    		base.SetExitStatus(2)
    		base.Exit()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    	%.16[1]s help name	# help on specific analyzer and its flags
    `, progname)
    		os.Exit(1)
    	}
    
    	analyzers = analysisflags.Parse(analyzers, true)
    
    	args := flag.Args()
    	if len(args) == 0 {
    		flag.Usage()
    	}
    	if args[0] == "help" {
    		analysisflags.Help(progname, analyzers, args[1:])
    		os.Exit(0)
    	}
    	if len(args) != 1 || !strings.HasSuffix(args[0], ".cfg") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompiler.kt

        languageVersion = LanguageVersion.KOTLIN_1_8,
        apiVersion = ApiVersion.KOTLIN_1_8,
        analysisFlags = mapOf(
            AnalysisFlags.skipMetadataVersionCheck to compilerOptions.skipMetadataVersionCheck,
            AnalysisFlags.skipPrereleaseCheck to true,
            AnalysisFlags.allowUnstableDependencies to true,
            JvmAnalysisFlags.jvmDefaultMode to JvmDefaultMode.ENABLE,
        ),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 31 08:46:17 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/url.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package analysisflags
    
    import (
    	"fmt"
    	"net/url"
    
    	"golang.org/x/tools/go/analysis"
    )
    
    // ResolveURL resolves the URL field for a Diagnostic from an Analyzer
    // and returns the URL. See Diagnostic.URL for details.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 901 bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-compiler-configuration.kt

        put(
            CommonConfigurationKeys.LANGUAGE_VERSION_SETTINGS,
            LanguageVersionSettingsImpl(
                languageVersion = LanguageVersion.KOTLIN_1_8,
                apiVersion = ApiVersion.KOTLIN_1_8,
                analysisFlags = mapOf(
                    JvmAnalysisFlags.javaTypeEnhancementState to JavaTypeEnhancementState(
                        Jsr305Settings(ReportLevel.STRICT, ReportLevel.STRICT)
                    ) { ReportLevel.STRICT },
                )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:57 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/help.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package analysisflags
    
    import (
    	"flag"
    	"fmt"
    	"log"
    	"os"
    	"sort"
    	"strings"
    
    	"golang.org/x/tools/go/analysis"
    )
    
    const help = `PROGNAME is a tool for static analysis of Go programs.
    
    PROGNAME examines Go source code and reports suspicious constructs,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 01:33:44 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package analysisflags defines helpers for processing flags of
    // analysis driver tools.
    package analysisflags
    
    import (
    	"crypto/sha256"
    	"encoding/gob"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"go/token"
    	"io"
    	"log"
    	"os"
    	"strconv"
    	"strings"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/modules.txt

    # golang.org/x/tools v0.21.1-0.20240604144337-208808308b70
    ## explicit; go 1.19
    golang.org/x/tools/cmd/bisect
    golang.org/x/tools/cover
    golang.org/x/tools/go/analysis
    golang.org/x/tools/go/analysis/internal/analysisflags
    golang.org/x/tools/go/analysis/passes/appends
    golang.org/x/tools/go/analysis/passes/asmdecl
    golang.org/x/tools/go/analysis/passes/assign
    golang.org/x/tools/go/analysis/passes/atomic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top