Skip to content

Commit

Permalink
Make TBR default
Browse files Browse the repository at this point in the history
Fixes:#760
  • Loading branch information
Max Andriychuk committed Feb 18, 2025
1 parent c99b0c4 commit 76b242a
Show file tree
Hide file tree
Showing 48 changed files with 91 additions and 91 deletions.
4 changes: 2 additions & 2 deletions test/Analyses/ActivityReverse.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oActivity.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oActivity.out 2>&1 | %filecheck %s
// RUN: ./Activity.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-va %s -I%S/../../include -oActivity.out
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-va -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oActivity.out
// RUN: ./Activity.out | %filecheck_exec %s
//CHECK-NOT: {{.*error|warning|note:.*}}

Expand Down
4 changes: 2 additions & 2 deletions test/Analyses/TBR.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oTBR.out | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oTBR.out | %filecheck %s
// RUN: ./TBR.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oTBR.out
// RUN: %cladclang %s -I%S/../../include -oTBR.out
// RUN: ./TBR.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Arrays/ArrayInputsReverseMode.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -Wno-unused-value -oArrayInputsReverseMode.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -Wno-unused-value -oArrayInputsReverseMode.out 2>&1 | %filecheck %s
// RUN: ./ArrayInputsReverseMode.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -Wno-unused-value -oArrayInputsReverseMode.out
// RUN: %cladclang %s -I%S/../../include -Wno-unused-value -oArrayInputsReverseMode.out
// RUN: ./ArrayInputsReverseMode.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/Assignments.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oReverseAssignments.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oReverseAssignments.out 2>&1 | %filecheck %s
// RUN: ./ReverseAssignments.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oReverseAssignments.out
// RUN: %cladclang %s -I%S/../../include -oReverseAssignments.out
// RUN: ./ReverseAssignments.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/DiffInterface.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oGradientDiffInterface.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oGradientDiffInterface.out 2>&1 | %filecheck %s
// RUN: ./GradientDiffInterface.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oGradientDiffInterface.out
// RUN: %cladclang %s -I%S/../../include -oGradientDiffInterface.out
// RUN: ./GradientDiffInterface.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/FunctionCalls.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladnumdiffclang -std=c++17 -Wno-writable-strings %s -I%S/../../include -oFunctionCalls.out 2>&1 | %filecheck %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -disable-tbr -std=c++17 -Wno-writable-strings %s -I%S/../../include -oFunctionCalls.out 2>&1 | %filecheck %s
// RUN: ./FunctionCalls.out | %filecheck_exec %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -enable-tbr -std=c++17 -Wno-writable-strings %s -I%S/../../include -oFunctionCalls.out
// RUN: %cladnumdiffclang -std=c++17 -Wno-writable-strings %s -I%S/../../include -oFunctionCalls.out
// RUN: ./FunctionCalls.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/Functors.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oFunctors.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oFunctors.out 2>&1 | %filecheck %s
// RUN: ./Functors.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oFunctors.out
// RUN: %cladclang %s -I%S/../../include -oFunctors.out
// RUN: ./Functors.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/Gradients.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladnumdiffclang %s -std=c++17 -I%S/../../include -oGradients.out 2>&1 | %filecheck %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -std=c++17 -I%S/../../include -oGradients.out 2>&1 | %filecheck %s
// RUN: ./Gradients.out | %filecheck_exec %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oGradients.out
// RUN: %cladnumdiffclang %s -I%S/../../include -oGradients.out
// RUN: ./Gradients.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/InterfaceCompatibility.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladnumdiffclang %s -I%S/../../include -oInterfaceCompatibility.out 2>&1 | %filecheck %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oInterfaceCompatibility.out 2>&1 | %filecheck %s
// RUN: ./InterfaceCompatibility.out | %filecheck_exec %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oInterfaceCompatibility.out
// RUN: %cladnumdiffclang %s -I%S/../../include -oInterfaceCompatibility.out
// RUN: ./InterfaceCompatibility.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/Lambdas.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oLambdas.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oLambdas.out 2>&1 | %filecheck %s
// RUN: ./Lambdas.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oLambdas.out
// RUN: %cladclang %s -I%S/../../include -oLambdas.out
// RUN: ./Lambdas.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/Loops.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oReverseLoops.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oReverseLoops.out 2>&1 | %filecheck %s
// RUN: ./ReverseLoops.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oReverseLoops.out
// RUN: %cladclang %s -I%S/../../include -oReverseLoops.out
// RUN: ./ReverseLoops.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
12 changes: 6 additions & 6 deletions test/Gradient/MemberFunctions.C
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// RUN: %cladclang %s -fno-exceptions -I%S/../../include -oMemberFunctions.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -fno-exceptions -I%S/../../include -oMemberFunctions.out 2>&1 | %filecheck %s
// RUN: ./MemberFunctions.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -fno-exceptions -I%S/../../include -oMemberFunctions.out
// RUN: %cladclang %s -fno-exceptions -I%S/../../include -oMemberFunctions.out
// RUN: ./MemberFunctions.out | %filecheck_exec %s

// RUN: %cladclang -std=c++14 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp14.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr -std=c++14 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp14.out 2>&1 | %filecheck %s
// RUN: ./MemberFunctions-cpp14.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr -std=c++14 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp14.out
// RUN: %cladclang -std=c++14 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp14.out
// RUN: ./MemberFunctions-cpp14.out | %filecheck_exec %s

// RUN: %cladclang -std=c++17 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp17.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr -std=c++17 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp17.out 2>&1 | %filecheck %s
// RUN: ./MemberFunctions-cpp17.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr -std=c++17 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp17.out
// RUN: %cladclang -std=c++17 %s -fno-exceptions -I%S/../../include -oMemberFunctions-cpp17.out
// RUN: ./MemberFunctions-cpp17.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/NonDifferentiable.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -oNonDifferentiable.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oNonDifferentiable.out 2>&1 | %filecheck %s
// RUN: ./NonDifferentiable.out | %filecheck_exec %s

#define non_differentiable __attribute__((annotate("another_attribute"), annotate("non_differentiable")))
Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/NonDifferentiableError.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -fsyntax-only -Xclang -verify 2>&1
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -fsyntax-only -Xclang -verify 2>&1

#define non_differentiable __attribute__((annotate("non_differentiable")))

Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/Pointers.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -oPointers.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oPointers.out 2>&1 | %filecheck %s
// RUN: ./Pointers.out | %filecheck_exec %s

// FIXME: This test does not work with enable-tbr flag, because the
Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/PointersWithTBR.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oPointersWithTBR.out
// RUN: %cladclang %s -I%S/../../include -oPointersWithTBR.out
// RUN: ./PointersWithTBR.out | %filecheck_exec %s
// XFAIL: *

Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/STLCustomDerivatives.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// XFAIL: asserts
// RUN: %cladclang -std=c++14 %s -I%S/../../include -oSTLCustomDerivatives.out 2>&1 | %filecheck %s
// RUN: %cladclang -std=c++14 -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oSTLCustomDerivatives.out 2>&1 | %filecheck %s
// RUN: ./STLCustomDerivatives.out | %filecheck_exec %s
// RUN: %cladclang -std=c++14 -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oSTLCustomDerivativesWithTBR.out
// RUN: %cladclang -std=c++14 %s -I%S/../../include -oSTLCustomDerivativesWithTBR.out
// RUN: ./STLCustomDerivativesWithTBR.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/Switch.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -oSwitch.out 2>&1 -lm | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oSwitch.out 2>&1 -lm | %filecheck %s
// RUN: ./Switch.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/Gradient/SwitchInit.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -std=c++17 -oSwitchInit.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -std=c++17 -oSwitchInit.out 2>&1 | %filecheck %s
// RUN: ./SwitchInit.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/TemplateFunctors.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oTemplateFunctors.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oTemplateFunctors.out 2>&1 | %filecheck %s
// RUN: ./TemplateFunctors.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oTemplateFunctors.out
// RUN: %cladclang %s -I%S/../../include -oTemplateFunctors.out
// RUN: ./TemplateFunctors.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/TestAgainstDiff.C
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// RUN: %cladclang %s -I%S/../../include -oTestAgainstDiff.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oTestAgainstDiff.out 2>&1 | %filecheck %s
// RUN: ./TestAgainstDiff.out | %filecheck_exec %s

// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oTestAgainstDiff.out
// RUN: %cladclang %s -I%S/../../include -oTestAgainstDiff.out
// RUN: ./TestAgainstDiff.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/TestTypeConversion.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladnumdiffclang %s -I%S/../../include -oTestTypeConversion.out 2>&1 | %filecheck %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oTestTypeConversion.out 2>&1 | %filecheck %s
// RUN: ./TestTypeConversion.out | %filecheck_exec %s
// RUN: %cladnumdiffclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oTestTypeConversion.out
// RUN: %cladnumdiffclang %s -I%S/../../include -oTestTypeConversion.out
// RUN: ./TestTypeConversion.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/UnaryMinus.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oUnaryMinus.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oUnaryMinus.out 2>&1 | %filecheck %s
// RUN: ./UnaryMinus.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oUnaryMinus.out
// RUN: %cladclang %s -I%S/../../include -oUnaryMinus.out
// RUN: ./UnaryMinus.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/UserDefinedTypes.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oUserDefinedTypes.out -Xclang -verify 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oUserDefinedTypes.out -Xclang -verify 2>&1 | %filecheck %s
// RUN: ./UserDefinedTypes.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oUserDefinedTypes.out
// RUN: %cladclang %s -I%S/../../include -oUserDefinedTypes.out
// RUN: ./UserDefinedTypes.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Gradient/constexprTest.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oconstexprTest.out | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oconstexprTest.out | %filecheck %s
// RUN: ./constexprTest.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oconstexprTest.out
// RUN: %cladclang %s -I%S/../../include -oconstexprTest.out
// RUN: ./constexprTest.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/Hessian/ArrayErrors.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -fsyntax-only -Xclang -verify 2>&1
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -fsyntax-only -Xclang -verify 2>&1

#include "clad/Differentiator/Differentiator.h"

Expand Down
4 changes: 2 additions & 2 deletions test/Hessian/Arrays.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oArrays.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oArrays.out 2>&1 | %filecheck %s
// RUN: ./Arrays.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oArrays.out
// RUN: %cladclang %s -I%S/../../include -oArrays.out
// RUN: ./Arrays.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Hessian/BuiltinDerivatives.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oHessianBuiltinDerivatives.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oHessianBuiltinDerivatives.out 2>&1 | %filecheck %s
// RUN: ./HessianBuiltinDerivatives.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oHessianBuiltinDerivatives.out
// RUN: %cladclang %s -I%S/../../include -oHessianBuiltinDerivatives.out
// RUN: ./HessianBuiltinDerivatives.out | %filecheck_exec %s


Expand Down
4 changes: 2 additions & 2 deletions test/Hessian/Functors.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oFunctors.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oFunctors.out 2>&1 | %filecheck %s
// RUN: ./Functors.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oFunctors.out
// RUN: %cladclang %s -I%S/../../include -oFunctors.out
// RUN: ./Functors.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Hessian/Hessians.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oHessians.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oHessians.out 2>&1 | %filecheck %s
// RUN: ./Hessians.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oHessians.out
// RUN: %cladclang %s -I%S/../../include -oHessians.out
// RUN: ./Hessians.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Hessian/NestedFunctionCalls.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oNestedFunctionCalls.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oNestedFunctionCalls.out 2>&1 | %filecheck %s
// RUN: ./NestedFunctionCalls.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oNestedFunctionCalls.out
// RUN: %cladclang %s -I%S/../../include -oNestedFunctionCalls.out
// RUN: ./NestedFunctionCalls.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
2 changes: 1 addition & 1 deletion test/Hessian/Pointers.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RUN: %cladclang %s -I%S/../../include -oPointers.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oPointers.out 2>&1 | %filecheck %s
// RUN: ./Pointers.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oPointers.out
// RUN: ./Pointers.out | %filecheck_exec %s
Expand Down
4 changes: 2 additions & 2 deletions test/Hessian/TemplateFunctors.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oTemplateFunctors.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oTemplateFunctors.out 2>&1 | %filecheck %s
// RUN: ./TemplateFunctors.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oTemplateFunctors.out
// RUN: %cladclang %s -I%S/../../include -oTemplateFunctors.out
// RUN: ./TemplateFunctors.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Hessian/constexprTest.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -std=c++14 -oconstexprTest.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -std=c++14 -oconstexprTest.out 2>&1 | %filecheck %s
// RUN: ./constexprTest.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -std=c++14 -oconstexprTest.out
// RUN: %cladclang %s -I%S/../../include -std=c++14 -oconstexprTest.out
// RUN: ./constexprTest.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Hessian/testhessUtility.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -otesthessUtility.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -otesthessUtility.out 2>&1 | %filecheck %s
// RUN: ./testhessUtility.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -otesthessUtility.out
// RUN: %cladclang %s -I%S/../../include -otesthessUtility.out
// RUN: ./testhessUtility.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
4 changes: 2 additions & 2 deletions test/Jacobian/FunctionCalls.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oFunctionCalls.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oFunctionCalls.out 2>&1 | %filecheck %s
// RUN: ./FunctionCalls.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oFunctionCalls.out
// RUN: %cladclang %s -I%S/../../include -oFunctionCalls.out
// RUN: ./FunctionCalls.out | %filecheck_exec %s

#include <cmath>
Expand Down
4 changes: 2 additions & 2 deletions test/Jacobian/Functors.C
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %cladclang %s -I%S/../../include -oFunctors.out 2>&1 | %filecheck %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -disable-tbr %s -I%S/../../include -oFunctors.out 2>&1 | %filecheck %s
// RUN: ./Functors.out | %filecheck_exec %s
// RUN: %cladclang -Xclang -plugin-arg-clad -Xclang -enable-tbr %s -I%S/../../include -oFunctors.out
// RUN: %cladclang %s -I%S/../../include -oFunctors.out
// RUN: ./Functors.out | %filecheck_exec %s

#include "clad/Differentiator/Differentiator.h"
Expand Down
Loading

0 comments on commit 76b242a

Please sign in to comment.