Changeset View
Changeset View
Standalone View
Standalone View
clang/test/Analysis/cfg-rich-constructors.cpp
// RUN: %clang_analyze_cc1 -analyzer-checker=debug.DumpCFG -triple x86_64-apple-darwin12 -std=c++11 -w %s > %t 2>&1 | // RUN: %clang_analyze_cc1 -analyzer-checker=debug.DumpCFG -triple x86_64-apple-darwin12 -std=c++11 -w %s > %t 2>&1 | ||||
// RUN: FileCheck --input-file=%t -check-prefixes=CHECK,CXX11,ELIDE,CXX11-ELIDE %s | // FIXME: automatically inserted -allow-unused-prefixes=true. Is the behavior intended? | ||||
// RUN: FileCheck --input-file=%t -allow-unused-prefixes=true -check-prefixes=CHECK,CXX11,ELIDE,CXX11-ELIDE %s | |||||
// RUN: %clang_analyze_cc1 -analyzer-checker=debug.DumpCFG -triple x86_64-apple-darwin12 -std=c++17 -w %s > %t 2>&1 | // RUN: %clang_analyze_cc1 -analyzer-checker=debug.DumpCFG -triple x86_64-apple-darwin12 -std=c++17 -w %s > %t 2>&1 | ||||
// RUN: FileCheck --input-file=%t -check-prefixes=CHECK,CXX17,ELIDE,CXX17-ELIDE %s | // FIXME: automatically inserted -allow-unused-prefixes=true. Is the behavior intended? | ||||
// RUN: FileCheck --input-file=%t -allow-unused-prefixes=true -check-prefixes=CHECK,CXX17,ELIDE,CXX17-ELIDE %s | |||||
// RUN: %clang_analyze_cc1 -analyzer-checker=debug.DumpCFG -triple x86_64-apple-darwin12 -std=c++11 -w -analyzer-config elide-constructors=false %s > %t 2>&1 | // RUN: %clang_analyze_cc1 -analyzer-checker=debug.DumpCFG -triple x86_64-apple-darwin12 -std=c++11 -w -analyzer-config elide-constructors=false %s > %t 2>&1 | ||||
// RUN: FileCheck --input-file=%t -check-prefixes=CHECK,CXX11,NOELIDE,CXX11-NOELIDE %s | // FIXME: automatically inserted -allow-unused-prefixes=true. Is the behavior intended? | ||||
// RUN: FileCheck --input-file=%t -allow-unused-prefixes=true -check-prefixes=CHECK,CXX11,NOELIDE,CXX11-NOELIDE %s | |||||
// RUN: %clang_analyze_cc1 -analyzer-checker=debug.DumpCFG -triple x86_64-apple-darwin12 -std=c++17 -w -analyzer-config elide-constructors=false %s > %t 2>&1 | // RUN: %clang_analyze_cc1 -analyzer-checker=debug.DumpCFG -triple x86_64-apple-darwin12 -std=c++17 -w -analyzer-config elide-constructors=false %s > %t 2>&1 | ||||
// RUN: FileCheck --input-file=%t -check-prefixes=CHECK,CXX17,NOELIDE,CXX17-NOELIDE %s | // FIXME: automatically inserted -allow-unused-prefixes=true. Is the behavior intended? | ||||
// RUN: FileCheck --input-file=%t -allow-unused-prefixes=true -check-prefixes=CHECK,CXX17,NOELIDE,CXX17-NOELIDE %s | |||||
class C { | class C { | ||||
public: | public: | ||||
C(); | C(); | ||||
C(C *); | C(C *); | ||||
C(int, int); | C(int, int); | ||||
static C get(); | static C get(); | ||||
▲ Show 20 Lines • Show All 1,044 Lines • Show Last 20 Lines |